[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 07/36] aspeed/smc: remove call to reset in realize fu

From: Peter Maydell
Subject: [Qemu-devel] [PULL 07/36] aspeed/smc: remove call to reset in realize function
Date: Thu, 19 Jan 2017 14:09:26 +0000

From: Cédric Le Goater <address@hidden>

This is useless as reset will be called later on.

Signed-off-by: Cédric Le Goater <address@hidden>
Acked-by: Marcin Krzemiński <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
 hw/ssi/aspeed_smc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/hw/ssi/aspeed_smc.c b/hw/ssi/aspeed_smc.c
index 78f5aed..8a7217d 100644
--- a/hw/ssi/aspeed_smc.c
+++ b/hw/ssi/aspeed_smc.c
@@ -541,8 +541,6 @@ static void aspeed_smc_realize(DeviceState *dev, Error 
         sysbus_init_irq(sbd, &s->cs_lines[i]);
-    aspeed_smc_reset(dev);
     /* The memory region for the controller registers */
     memory_region_init_io(&s->mmio, OBJECT(s), &aspeed_smc_ops, s,
                           s->ctrl->name, ASPEED_SMC_R_MAX * 4);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]