]> git.proxmox.com Git - mirror_qemu.git/commit - hw/ppc/spapr_pci.c
savevm: Remove all the unneeded version_minimum_id_old (ppc)
authorJuan Quintela <quintela@redhat.com>
Wed, 16 Apr 2014 13:24:04 +0000 (15:24 +0200)
committerJuan Quintela <quintela@redhat.com>
Mon, 16 Jun 2014 02:55:26 +0000 (04:55 +0200)
commit3aff6c2fea770a5e8a00ff43d7665f4d28e935cd
treeb68ee06e449b67a01d0a625f2fa6e478a6100563
parent06a59afac4505f5ed942db4200e5ca16fcbba74d
savevm: Remove all the unneeded version_minimum_id_old (ppc)

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>
14 files changed:
hw/char/escc.c
hw/char/spapr_vty.c
hw/intc/heathrow_pic.c
hw/intc/xics.c
hw/net/spapr_llan.c
hw/pci-host/ppce500.c
hw/ppc/ppc4xx_pci.c
hw/ppc/spapr.c
hw/ppc/spapr_iommu.c
hw/ppc/spapr_pci.c
hw/ppc/spapr_vio.c
hw/scsi/spapr_vscsi.c
hw/timer/m48t59.c
target-ppc/machine.c