mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
hw/exynos4210_rtc.c: remove unnecessary code
Signed-off-by: Oleg Ogurtsov <o.ogurtsov@samsung.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
64de1ecfe7
commit
4688870d87
1 changed files with 1 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue