Received: from eggs.gnu.org ([2001:4830:134:3::10]:45248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQcl5-0000OA-8Y for qemu-devel@nongnu.org; Mon, 09 Jan 2017 11:25:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQcl1-00047M-9q for qemu-devel@nongnu.org; Mon, 09 Jan 2017 11:25:19 -0500 Received: from 1.mo178.mail-out.ovh.net ([178.33.251.53]:41302) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cQcl1-00046O-3U for qemu-devel@nongnu.org; Mon, 09 Jan 2017 11:25:15 -0500 Received: from player714.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo178.mail-out.ovh.net (Postfix) with ESMTP id 80FA6C9DC for ; Mon, 9 Jan 2017 17:25:13 +0100 (CET) From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Date: Mon, 9 Jan 2017 17:24:37 +0100 Message-Id: <1483979087-32663-2-git-send-email-clg@kaod.org> In-Reply-To: <1483979087-32663-1-git-send-email-clg@kaod.org> References: <1483979087-32663-1-git-send-email-clg@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v2 01/11] aspeed/smc: remove call to reset in realize function List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: Peter Maydell , qemu-devel@nongnu.org, Marcin Krzeminski , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= This is useless as reset will be called later on. Signed-off-by: C=C3=A9dric Le Goater --- 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 78f5aed53247..8a7217d4df6c 100644 --- a/hw/ssi/aspeed_smc.c +++ b/hw/ssi/aspeed_smc.c @@ -541,8 +541,6 @@ static void aspeed_smc_realize(DeviceState *dev, Erro= r **errp) sysbus_init_irq(sbd, &s->cs_lines[i]); } =20 - 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); --=20 2.7.4