projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bb9ead
)
hw/ppc/spapr_rtc: Remove bad class_size value
author
Thomas Huth
<thuth@redhat.com>
Fri, 18 Dec 2015 09:06:14 +0000
(10:06 +0100)
committer
David Gibson
<david@gibson.dropbear.id.au>
Mon, 11 Jan 2016 02:25:40 +0000
(13:25 +1100)
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>
hw/ppc/spapr_rtc.c
patch
|
blob
|
history
diff --git
a/hw/ppc/spapr_rtc.c
b/hw/ppc/spapr_rtc.c
index 34b27db709a6fa5d5923200805aacb67263c047e..b591a8ee23e751692d3c6fd5a91f3db311645492 100644
(file)
--- 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,
};