aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ppc/spapr_vio.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2016-10-20 15:29:25 +1100
committerDavid Gibson <david@gibson.dropbear.id.au>2016-10-28 09:36:58 +1100
commite763da234454c2bcdf065e360f69ca1d11d81224 (patch)
treecb948fed642061d00a8ede0ec1d21432935ddc63 /include/hw/ppc/spapr_vio.h
parentf85bcec31ee578eccf6182be158d6ac6d9b90a4c (diff)
downloadqemu-e763da234454c2bcdf065e360f69ca1d11d81224.zip
qemu-e763da234454c2bcdf065e360f69ca1d11d81224.tar.gz
qemu-e763da234454c2bcdf065e360f69ca1d11d81224.tar.bz2
pseries: Remove unused callbacks from sPAPR VIO bus state
The original QOMification of the spapr VIO devices in 3954d33 "spapr: convert to QEMU Object Model (v2)" moved some callbacks from the VIOsPAPRBus structure to the VIOsPAPRDeviceClass. Except, that it forgot to actually remove them from the VIOsPAPRBus structure (which still exists, though it doesn't fulfill quite the same function as it did pre-QOM). This patch removes those now unused callback fields. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/hw/ppc/spapr_vio.h')
-rw-r--r--include/hw/ppc/spapr_vio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/ppc/spapr_vio.h b/include/hw/ppc/spapr_vio.h
index 40d0e5f..0b025fd 100644
--- a/include/hw/ppc/spapr_vio.h
+++ b/include/hw/ppc/spapr_vio.h
@@ -76,8 +76,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);