aboutsummaryrefslogtreecommitdiff
path: root/hw/musicpal.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2010-05-13 15:09:58 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-05-28 21:48:47 +0200
commitc1735af1df50b1837241053393c73a5296d2cf7f (patch)
tree40383c7ffdc839743751ba7e5b783d015bbe659d /hw/musicpal.c
parentd8e06f973cc8e42aa1faa1216592aa9eb671f360 (diff)
downloadqemu-c1735af1df50b1837241053393c73a5296d2cf7f.zip
qemu-c1735af1df50b1837241053393c73a5296d2cf7f.tar.gz
qemu-c1735af1df50b1837241053393c73a5296d2cf7f.tar.bz2
musicpal: Drop redundant reset call
Reset is now triggered after init, no need for explicit calls anymore. Signed-off-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/musicpal.c')
-rw-r--r--hw/musicpal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/musicpal.c b/hw/musicpal.c
index ebd933e..d44c5a0 100644
--- a/hw/musicpal.c
+++ b/hw/musicpal.c
@@ -1295,8 +1295,6 @@ static int musicpal_gpio_init(SysBusDevice *dev)
musicpal_gpio_writefn, s);
sysbus_init_mmio(dev, MP_GPIO_SIZE, iomemtype);
- musicpal_gpio_reset(&dev->qdev);
-
qdev_init_gpio_out(&dev->qdev, s->out, ARRAY_SIZE(s->out));
qdev_init_gpio_in(&dev->qdev, musicpal_gpio_pin_event, 32);