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

login
register
mail settings
Submitter Andreas Färber
Date April 15, 2012, 6:39 p.m.
Message ID <1334515144-26485-18-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/152702/
State New
Headers show

Comments

Andreas Färber - April 15, 2012, 6:39 p.m.
From: David Gibson <david@gibson.dropbear.id.au>

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 <david@gibson.dropbear.id.au>
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 hw/spapr_vio.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch

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;