]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ide/ich.c
savevm: Remove all the unneeded version_minimum_id_old (x86)
authorJuan Quintela <quintela@redhat.com>
Wed, 16 Apr 2014 13:32:32 +0000 (15:32 +0200)
committerJuan Quintela <quintela@redhat.com>
Mon, 16 Jun 2014 02:55:26 +0000 (04:55 +0200)
commitd49805aeea558474b18663268b243cee4a520fe8
treea436d5626a9b20e16ec764988997e45007295d0b
parent3aff6c2fea770a5e8a00ff43d7665f4d28e935cd
savevm: Remove all the unneeded version_minimum_id_old (x86)

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: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
65 files changed:
hw/acpi/ich9.c
hw/acpi/pcihp.c
hw/acpi/piix4.c
hw/audio/ac97.c
hw/audio/cs4231.c
hw/audio/cs4231a.c
hw/audio/es1370.c
hw/audio/gus.c
hw/audio/hda-codec.c
hw/audio/intel-hda.c
hw/audio/sb16.c
hw/block/fdc.c
hw/char/serial-pci.c
hw/char/serial.c
hw/display/cirrus_vga.c
hw/display/vga-pci.c
hw/display/vga.c
hw/display/vmware_vga.c
hw/dma/i8257.c
hw/i386/acpi-build.c
hw/i386/kvm/clock.c
hw/i386/kvmvapic.c
hw/i386/pc.c
hw/i386/xen/xen_platform.c
hw/ide/ahci.c
hw/ide/ich.c
hw/ide/isa.c
hw/ide/pci.c
hw/input/pckbd.c
hw/input/ps2.c
hw/input/vmmouse.c
hw/intc/i8259_common.c
hw/intc/ioapic_common.c
hw/isa/apm.c
hw/isa/lpc_ich9.c
hw/isa/piix4.c
hw/isa/vt82c686.c
hw/net/e1000.c
hw/net/eepro100.c
hw/net/ne2000-isa.c
hw/net/ne2000.c
hw/net/pcnet-pci.c
hw/net/pcnet.c
hw/net/rtl8139.c
hw/net/vmxnet3.c
hw/nvram/eeprom93xx.c
hw/nvram/fw_cfg.c
hw/pci-bridge/ioh3420.c
hw/pci-bridge/xio3130_downstream.c
hw/pci-bridge/xio3130_upstream.c
hw/pci-host/piix.c
hw/pci-host/q35.c
hw/pci/pci.c
hw/pci/pcie_aer.c
hw/scsi/lsi53c895a.c
hw/scsi/megasas.c
hw/scsi/scsi-bus.c
hw/scsi/scsi-disk.c
hw/scsi/vmw_pvscsi.c
hw/timer/hpet.c
hw/timer/i8254_common.c
hw/timer/mc146818rtc.c
hw/watchdog/wdt_i6300esb.c
hw/watchdog/wdt_ib700.c
target-i386/machine.c