aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPrasad Joshi <prasadjoshi.linux@gmail.com>2014-03-23 14:58:41 +0530
committerMichael Tokarev <mjt@tls.msk.ru>2014-03-27 19:22:49 +0400
commitc9f2d70cc88346d50020d01face2135481e5acde (patch)
tree90c36803cb2dea54c8ab35db3070fed07249257a /hw
parentaf23906d50c7d7c28e7e5ff49f7cbf0fa5c6228a (diff)
downloadqemu-c9f2d70cc88346d50020d01face2135481e5acde.zip
qemu-c9f2d70cc88346d50020d01face2135481e5acde.tar.gz
qemu-c9f2d70cc88346d50020d01face2135481e5acde.tar.bz2
hw/timer/grlib_gptimer: remove unnecessary assignment
Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw')
-rw-r--r--hw/timer/grlib_gptimer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/timer/grlib_gptimer.c b/hw/timer/grlib_gptimer.c
index 7672d3a..d655bb2 100644
--- a/hw/timer/grlib_gptimer.c
+++ b/hw/timer/grlib_gptimer.c
@@ -328,7 +328,6 @@ static void grlib_gptimer_reset(DeviceState *d)
unit->scaler = 0;
unit->reload = 0;
- unit->config = 0;
unit->config = unit->nr_timers;
unit->config |= unit->irq_line << 3;