diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2012-10-12 11:54:38 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2012-10-12 11:54:38 +0100 |
| commit | 7f7fd0f2e4d6b4f2ec137cda67f6c9a140668ea3 (patch) | |
| tree | 9e7fd7653ec9e240c6d73966be89eeb8c515f5ef /linux-user/main.c | |
| parent | 35b87a861394ed088c4db3b7ba9a67d8bb2b289e (diff) | |
| download | focaccia-qemu-7f7fd0f2e4d6b4f2ec137cda67f6c9a140668ea3.tar.gz focaccia-qemu-7f7fd0f2e4d6b4f2ec137cda67f6c9a140668ea3.zip | |
hw/ds1338: Remove 'now' field from state struct
The 'struct tm now' field in the state structure is in fact only ever used as a temporary (the actual RTC state is held in 'offset'). Remove it from the state structure in favour of using local variables to avoid confusion about whether it needs to be saved on migration. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user/main.c')
0 files changed, 0 insertions, 0 deletions