commit | 7f7fd0f2e4d6b4f2ec137cda67f6c9a140668ea3 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Fri Oct 12 11:54:38 2012 +0100 |
committer | Peter Maydell <peter.maydell@linaro.org> | Fri Oct 12 11:54:38 2012 +0100 |
tree | 9e7fd7653ec9e240c6d73966be89eeb8c515f5ef | |
parent | 35b87a861394ed088c4db3b7ba9a67d8bb2b289e [diff] |
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>