summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorPrasad Joshi2014-03-23 10:28:41 +0100
committerMichael Tokarev2014-03-27 16:22:49 +0100
commitc9f2d70cc88346d50020d01face2135481e5acde (patch)
tree90c36803cb2dea54c8ab35db3070fed07249257a /hw
parenthw/pci-host/apb.c: Avoid shifting left into sign bit (diff)
downloadqemu-c9f2d70cc88346d50020d01face2135481e5acde.tar.gz
qemu-c9f2d70cc88346d50020d01face2135481e5acde.tar.xz
qemu-c9f2d70cc88346d50020d01face2135481e5acde.zip
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 7672d3ad8a..d655bb2a27 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;