Patchwork [17/20] pseries: Remove old hcalls hook stub

mail settings
Submitter Andreas Färber
Date April 15, 2012, 6:39 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/152702/
State New
Headers show


Andreas Färber - April 15, 2012, 6:39 p.m.
From: David Gibson <>

Some time ago we removed all use of the 'hcalls' callback in the pseries
VIO code, which was used to workaround an ordering problem which has since
been solved properly.  However, the function pointer for the hook remains.
This patch cleans it away.

Signed-off-by: David Gibson <>
Signed-off-by: Andreas Färber <>
 hw/spapr_vio.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/hw/spapr_vio.h b/hw/spapr_vio.h
index fd29c5e..626d04f 100644
--- a/hw/spapr_vio.h
+++ b/hw/spapr_vio.h
@@ -64,7 +64,6 @@  typedef struct VIOsPAPRDeviceClass {
     const char *dt_name, *dt_type, *dt_compatible;
     target_ulong signal_mask;
     int (*init)(VIOsPAPRDevice *dev);
-    void (*hcalls)(VIOsPAPRBus *bus);
     int (*devnode)(VIOsPAPRDevice *dev, void *fdt, int node_off);
 } VIOsPAPRDeviceClass;