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>
This commit is contained in:
parent
6bb9ead762
commit
54c6de864f
|
@ -200,7 +200,6 @@ static const TypeInfo spapr_rtc_info = {
|
||||||
.name = TYPE_SPAPR_RTC,
|
.name = TYPE_SPAPR_RTC,
|
||||||
.parent = TYPE_SYS_BUS_DEVICE,
|
.parent = TYPE_SYS_BUS_DEVICE,
|
||||||
.instance_size = sizeof(sPAPRRTCState),
|
.instance_size = sizeof(sPAPRRTCState),
|
||||||
.class_size = sizeof(XICSStateClass),
|
|
||||||
.class_init = spapr_rtc_class_init,
|
.class_init = spapr_rtc_class_init,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue