Patchwork [RFC,v1,08/20] rtc: remove rtc_set_date

login
register
mail settings
Submitter Hu Tao
Date May 22, 2013, 5:33 a.m.
Message ID <c5d67e2881026c5d6cf22fe31bb6e657448da59a.1369193012.git.hutao@cn.fujitsu.com>
Download mbox | patch
Permalink /patch/245525/
State New
Headers show

Comments

Hu Tao - May 22, 2013, 5:33 a.m.
Since it's not defined and used anywhere.

Cc: qemu-trivial@nongnu.org
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
 include/hw/timer/mc146818rtc.h | 1 -
 1 file changed, 1 deletion(-)
Michael Tokarev - May 27, 2013, 7:41 p.m.
22.05.2013 09:33, Hu Tao wrote:
> Since it's not defined and used anywhere.

Thanks,  applied to the trivial-patches queue.

If the need arises to bring it back, it can be done
together with the implementation and some users :)

/mjt

Patch

diff --git a/include/hw/timer/mc146818rtc.h b/include/hw/timer/mc146818rtc.h
index 753dda6..eaf6497 100644
--- a/include/hw/timer/mc146818rtc.h
+++ b/include/hw/timer/mc146818rtc.h
@@ -9,6 +9,5 @@ 
 ISADevice *rtc_init(ISABus *bus, int base_year, qemu_irq intercept_irq);
 void rtc_set_memory(ISADevice *dev, int addr, int val);
 int rtc_get_memory(ISADevice *dev, int addr);
-void rtc_set_date(ISADevice *dev, const struct tm *tm);
 
 #endif /* !MC146818RTC_H */