From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7G9e-0000Tq-8G for qemu-devel@nongnu.org; Tue, 02 Oct 2018 04:35:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7G9b-0002DZ-3u for qemu-devel@nongnu.org; Tue, 02 Oct 2018 04:35:42 -0400 References: <20181001220942.2382-1-f4bug@amsat.org> <20181001220942.2382-15-f4bug@amsat.org> From: Thomas Huth Message-ID: Date: Tue, 2 Oct 2018 10:35:35 +0200 MIME-Version: 1.0 In-Reply-To: <20181001220942.2382-15-f4bug@amsat.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC PATCH 14/15] hw/hppa/dino: Remove unuseful code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Peter Maydell , =?UTF-8?Q?C=c3=a9dric_Le_Goater?= Cc: Richard Henderson , Eduardo Habkost , qemu-devel@nongnu.org, QEMU Trivial On 2018-10-02 00:09, Philippe Mathieu-Daud=C3=A9 wrote: > Signed-off-by: Philippe Mathieu-Daud=C3=A9 > --- > hw/hppa/dino.c | 7 ------- > 1 file changed, 7 deletions(-) >=20 > diff --git a/hw/hppa/dino.c b/hw/hppa/dino.c > index 564b938e3a..31e09942b5 100644 > --- a/hw/hppa/dino.c > +++ b/hw/hppa/dino.c > @@ -488,17 +488,10 @@ PCIBus *dino_init(MemoryRegion *addr_space, > return b; > } > =20 > -static int dino_pcihost_init(SysBusDevice *dev) > -{ > - return 0; > -} > - > static void dino_pcihost_class_init(ObjectClass *klass, void *data) > { > - SysBusDeviceClass *k =3D SYS_BUS_DEVICE_CLASS(klass); > DeviceClass *dc =3D DEVICE_CLASS(klass); > =20 > - k->init =3D dino_pcihost_init; > dc->vmsd =3D &vmstate_dino; > } Reviewed-by: Thomas Huth