]> Git Repo - qemu.git/commit - hw/usb/bus.c
savevm: Remove all the unneeded version_minimum_id_old (usb)
authorJuan Quintela <[email protected]>
Wed, 16 Apr 2014 11:31:26 +0000 (13:31 +0200)
committerJuan Quintela <[email protected]>
Wed, 14 May 2014 13:24:51 +0000 (15:24 +0200)
commit6e3d652ab204c6f8f1846639bca802fb9c8a9a6d
tree73c3f62f57d0b550999c23683e7423afe9ac4656
parent14bcfdc7f1997492f59493214a24a27f5aa05c09
savevm: Remove all the unneeded version_minimum_id_old (usb)

After previous Peter patch, they are redundant.  This way we don't
assign them except when needed.  Once there, there were lots of case
where the ".fields" indentation was wrong:

     .fields = (VMStateField []) {
and
     .fields =      (VMStateField []) {

Change all the combinations to:

     .fields = (VMStateField[]){

The biggest problem (appart from aesthetics) was that checkpatch complained
when we copy&pasted the code from one place to another.

Signed-off-by: Juan Quintela <[email protected]>
Acked-by: Gerd Hoffmann <[email protected]>
hw/usb/bus.c
hw/usb/dev-hid.c
hw/usb/dev-hub.c
hw/usb/dev-storage.c
hw/usb/hcd-ehci-pci.c
hw/usb/hcd-ehci-sysbus.c
hw/usb/hcd-ehci.c
hw/usb/hcd-uhci.c
This page took 0.022449 seconds and 4 git commands to generate.