]> git.proxmox.com Git - mirror_qemu.git/commit
savevm: Remove all the unneeded version_minimum_id_old (usb)
authorJuan Quintela <quintela@redhat.com>
Wed, 16 Apr 2014 11:31:26 +0000 (13:31 +0200)
committerJuan Quintela <quintela@trasno.org>
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 <quintela@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
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