projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64de1ec
)
hw/exynos4210_rtc.c: remove unnecessary code
author
Oleg Ogurtsov
<o.ogurtsov@samsung.com>
Wed, 11 Jul 2012 00:03:28 +0000
(
00:03
+0000)
committer
Peter Maydell
<peter.maydell@linaro.org>
Fri, 20 Jul 2012 13:18:24 +0000
(14:18 +0100)
Signed-off-by: Oleg Ogurtsov <o.ogurtsov@samsung.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/exynos4210_rtc.c
patch
|
blob
|
history
diff --git
a/hw/exynos4210_rtc.c
b/hw/exynos4210_rtc.c
index b42586eb217d44c8fdd07cff461b9d72128107f3..42a4ddc32714d3706a32fe473364fcfec07ee646 100644
(file)
--- a/
hw/exynos4210_rtc.c
+++ b/
hw/exynos4210_rtc.c
@@
-510,10
+510,7
@@
static void exynos4210_rtc_reset(DeviceState *d)
{
Exynos4210RTCState *s = (Exynos4210RTCState *)d;
- struct tm tm;
-
- qemu_get_timedate(&tm, 0);
- s->current_tm = tm;
+ qemu_get_timedate(&s->current_tm, 0);
DPRINTF("Get time from host: %d-%d-%d %2d:%02d:%02d\n",
s->current_tm.tm_year, s->current_tm.tm_mon, s->current_tm.tm_mday,