From c1735af1df50b1837241053393c73a5296d2cf7f Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Thu, 13 May 2010 15:09:58 +0200 Subject: [PATCH] musicpal: Drop redundant reset call Reset is now triggered after init, no need for explicit calls anymore. Signed-off-by: Jan Kiszka Signed-off-by: Aurelien Jarno --- hw/musicpal.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/musicpal.c b/hw/musicpal.c index ebd933e2f5..d44c5a0d44 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); -- 2.34.1