summaryrefslogtreecommitdiffstats
path: root/hw/ppc
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2015-12-18 10:06:14 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:28:23 -0600
commitcef1bde04ff1c7aa0f095d37f038b6927f80e581 (patch)
tree862cd1c57a2737e1a1bece5b194cd0e63cfd535f /hw/ppc
parentb74bafbc70a4283c80d809d7b11272e32038fd84 (diff)
downloadhqemu-cef1bde04ff1c7aa0f095d37f038b6927f80e581.zip
hqemu-cef1bde04ff1c7aa0f095d37f038b6927f80e581.tar.gz
hw/ppc/spapr_rtc: Remove bad class_size value
class_size = sizeof(XICSStateClass) does not make much sense in the RTC code and likely was just a copy-n-paste error. Let's simply remove it. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc')
-rw-r--r--hw/ppc/spapr_rtc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ppc/spapr_rtc.c b/hw/ppc/spapr_rtc.c
index 34b27db..b591a8e 100644
--- a/hw/ppc/spapr_rtc.c
+++ b/hw/ppc/spapr_rtc.c
@@ -200,7 +200,6 @@ static const TypeInfo spapr_rtc_info = {
.name = TYPE_SPAPR_RTC,
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(sPAPRRTCState),
- .class_size = sizeof(XICSStateClass),
.class_init = spapr_rtc_class_init,
};
OpenPOWER on IntegriCloud