This is a series of misc trivial code cleanups that I originally used to illustrate the use of GNULIB's syntax-check facility:
http://lists.nongnu.org/archive/html/qemu-devel/2015-07/msg06268.html Since it appears the license of the GNULIB syntax-check is problematic, this series has separated the fixes out from the GNULIB additions, to allow for possibility of merging them as-is. Daniel P. Berrange (7): maint: remove double semicolons in many files maint: remove / fix many doubled words maint: remove unused include for assert.h maint: remove unused include for dirent.h maint: remove unused include for signal.h maint: remove unused include for strings.h maint: avoid useless "if (foo) free(foo)" pattern backends/hostmem-file.c | 4 +--- block/qcow2-cluster.c | 4 ++-- block/qcow2-refcount.c | 2 +- block/vhdx.c | 2 +- bsd-user/elfload.c | 4 +--- bsd-user/signal.c | 1 - disas/ia64.c | 1 - disas/microblaze.c | 1 - disas/sparc.c | 3 +-- docs/libcacard.txt | 4 ++-- docs/multiseat.txt | 2 +- docs/specs/qcow2.txt | 2 +- docs/specs/rocker.txt | 2 +- fsdev/virtio-9p-marshal.c | 1 - hw/arm/vexpress.c | 4 ++-- hw/block/xen_disk.c | 1 - hw/bt/hci.c | 9 +++------ hw/core/loader.c | 3 +-- hw/core/qdev-properties.c | 4 +--- hw/display/exynos4210_fimd.c | 4 +--- hw/i386/xen/xen_platform.c | 2 -- hw/intc/arm_gic.c | 2 +- hw/mips/mips_r4k.c | 4 +--- hw/net/fsl_etsec/rings.c | 4 +--- hw/net/rocker/rocker.c | 4 +--- hw/net/rocker/rocker_desc.c | 8 ++------ hw/net/rtl8139.c | 2 +- hw/net/xen_nic.c | 1 - hw/nvram/fw_cfg.c | 4 +--- hw/pci-host/prep.c | 4 +--- hw/pci/shpc.c | 1 - hw/sd/sd.c | 3 +-- hw/tpm/tpm_passthrough.c | 2 -- hw/usb/hcd-xhci.c | 4 +--- hw/usb/host-libusb.c | 2 +- hw/usb/redirect.c | 2 -- hw/vfio/common.c | 2 +- hw/vfio/pci.c | 1 - hw/xen/xen_pt_config_init.c | 4 +--- include/block/block.h | 2 +- include/exec/memory.h | 2 +- linux-user/elfload.c | 2 +- linux-user/signal.c | 1 - migration/rdma.c | 2 +- migration/savevm.c | 8 ++------ numa.c | 2 +- os-win32.c | 1 - page_cache.c | 1 - qemu-char.c | 5 +---- qemu-doc.texi | 2 +- qemu-img.texi | 2 +- qemu-options.hx | 2 +- qga/commands-win32.c | 2 +- target-arm/cpu.h | 4 ++-- target-arm/helper.c | 2 +- target-arm/translate.c | 2 +- target-i386/translate.c | 1 - target-lm32/helper.c | 2 +- target-microblaze/op_helper.c | 1 - target-microblaze/translate.c | 2 +- target-mips/helper.c | 1 - target-moxie/helper.c | 3 +-- target-moxie/translate.c | 1 - target-sh4/helper.c | 1 - target-sh4/op_helper.c | 1 - target-tricore/helper.c | 1 - tests/bios-tables-test.c | 36 +++++++++++++----------------------- tests/tcg/testthread.c | 1 - tests/test-xbzrle.c | 2 -- ui/spice-display.c | 14 ++++---------- util/bitmap.c | 2 +- 71 files changed, 71 insertions(+), 154 deletions(-) -- 2.4.3