提交 4688870d 编写于 作者: O Oleg Ogurtsov 提交者: Peter Maydell

hw/exynos4210_rtc.c: remove unnecessary code

Signed-off-by: NOleg Ogurtsov <o.ogurtsov@samsung.com>
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
上级 64de1ecf
...@@ -510,10 +510,7 @@ static void exynos4210_rtc_reset(DeviceState *d) ...@@ -510,10 +510,7 @@ static void exynos4210_rtc_reset(DeviceState *d)
{ {
Exynos4210RTCState *s = (Exynos4210RTCState *)d; Exynos4210RTCState *s = (Exynos4210RTCState *)d;
struct tm tm; qemu_get_timedate(&s->current_tm, 0);
qemu_get_timedate(&tm, 0);
s->current_tm = tm;
DPRINTF("Get time from host: %d-%d-%d %2d:%02d:%02d\n", 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, s->current_tm.tm_year, s->current_tm.tm_mon, s->current_tm.tm_mday,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册