From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ashw4-0002KL-L2 for qemu-devel@nongnu.org; Tue, 19 Apr 2016 22:32:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ashw1-0007rs-6h for qemu-devel@nongnu.org; Tue, 19 Apr 2016 22:32:12 -0400 From: David Gibson Date: Wed, 20 Apr 2016 12:33:21 +1000 Message-Id: <1461119601-4936-12-git-send-email-david@gibson.dropbear.id.au> In-Reply-To: <1461119601-4936-1-git-send-email-david@gibson.dropbear.id.au> References: <1461119601-4936-1-git-send-email-david@gibson.dropbear.id.au> Subject: [Qemu-devel] [RFC for-2.7 11/11] pseries: Remove unused callbacks from sPAPR VIO bus state List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraf@suse.de, crosthwaite.peter@gmail.com Cc: aik@ozlabs.ru, qemu-ppc@nongnu.org, qemu-devel@nongnu.org, David Gibson The VIOsPAPRBus structure has some callback pointers in it which aren't used anywhere in the code. It's not clear exactly why they were there in the first place, but they certainly have no function now. Signed-off-by: David Gibson --- include/hw/ppc/spapr_vio.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/hw/ppc/spapr_vio.h b/include/hw/ppc/spapr_vio.h index ea00c3b..380fe4f 100644 --- a/include/hw/ppc/spapr_vio.h +++ b/include/hw/ppc/spapr_vio.h @@ -75,8 +75,6 @@ struct VIOsPAPRDevice { struct VIOsPAPRBus { BusState bus; uint32_t next_reg; - int (*init)(VIOsPAPRDevice *dev); - int (*devnode)(VIOsPAPRDevice *dev, void *fdt, int node_off); }; extern VIOsPAPRBus *spapr_vio_bus_init(void); -- 2.5.5