diff options
author | Juan Quintela | 2014-06-10 17:04:08 +0200 |
---|---|---|
committer | Juan Quintela | 2014-06-23 19:14:52 +0200 |
commit | 25feab2fc248628df318a09c4da06e972a01247a (patch) | |
tree | b28dfb5fba534b55ab812e73d0b865b212d3257f | |
parent | tests: vmstate static checker: add size mismatch inside substructure (diff) | |
download | qemu-25feab2fc248628df318a09c4da06e972a01247a.tar.gz qemu-25feab2fc248628df318a09c4da06e972a01247a.tar.xz qemu-25feab2fc248628df318a09c4da06e972a01247a.zip |
migration: Remove unneeded minimum_version_id_old
Once there, make checkpatch happy.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
-rw-r--r-- | hw/usb/hcd-ohci.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c index cd87074862..cace945844 100644 --- a/hw/usb/hcd-ohci.c +++ b/hw/usb/hcd-ohci.c @@ -1988,8 +1988,7 @@ static const VMStateDescription vmstate_ohci_state_port = { .name = "ohci-core/port", .version_id = 1, .minimum_version_id = 1, - .minimum_version_id_old = 1, - .fields = (VMStateField []) { + .fields = (VMStateField[]) { VMSTATE_UINT32(ctrl, OHCIPort), VMSTATE_END_OF_LIST() }, @@ -2015,9 +2014,8 @@ static const VMStateDescription vmstate_ohci_eof_timer = { .name = "ohci-core/eof-timer", .version_id = 1, .minimum_version_id = 1, - .minimum_version_id_old = 1, .pre_load = ohci_eof_timer_pre_load, - .fields = (VMStateField []) { + .fields = (VMStateField[]) { VMSTATE_TIMER(eof_timer, OHCIState), VMSTATE_END_OF_LIST() }, @@ -2078,7 +2076,6 @@ static const VMStateDescription vmstate_ohci = { .name = "ohci", .version_id = 1, .minimum_version_id = 1, - .minimum_version_id_old = 1, .fields = (VMStateField[]) { VMSTATE_PCI_DEVICE(parent_obj, OHCIPCIState), VMSTATE_STRUCT(state, OHCIPCIState, 1, vmstate_ohci_state, OHCIState), |