[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [RFC for-2.7 11/11] pseries: Remove unused callbacks from sPA
From: |
David Gibson |
Subject: |
[Qemu-ppc] [RFC for-2.7 11/11] pseries: Remove unused callbacks from sPAPR VIO bus state |
Date: |
Wed, 20 Apr 2016 12:33:21 +1000 |
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 <address@hidden>
---
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
- [Qemu-ppc] [RFC for-2.7 00/11] A new infrastructure for guest device trees, David Gibson, 2016/04/19
- [Qemu-ppc] [RFC for-2.7 03/11] pseries: Remove rtas_addr and fdt_addr fields from machinestate, David Gibson, 2016/04/19
- [Qemu-ppc] [RFC for-2.7 11/11] pseries: Remove unused callbacks from sPAPR VIO bus state,
David Gibson <=
- [Qemu-ppc] [RFC for-2.7 10/11] pseries: Consolidate construction of /rtas device tree node, David Gibson, 2016/04/19
- [Qemu-ppc] [RFC for-2.7 09/11] pseries: Consolidate construction of /chosen device tree node, David Gibson, 2016/04/19
- [Qemu-ppc] [RFC for-2.7 02/11] pseries: Split device tree construction from device tree load, David Gibson, 2016/04/19
- [Qemu-ppc] [RFC for-2.7 07/11] pseries: Move adding of fdt reserve map entries, David Gibson, 2016/04/19