Skip to content

Misc trivial code cleanups

Daniel P. Berrange qemu-devel qemu-trivial 1 version Applied

Status from this message: Applied all 7 to -trivial.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7maint: remove double semicolons in many filesblock/vhdx.c hw/arm/vexpress.c hw/intc/arm_gic.c +2 more+6 -61 reply
2/7maint: remove / fix many doubled wordsblock/qcow2-cluster.c block/qcow2-refcount.c docs/libcacard.txt +20 more+26 -261 reply
3/7maint: remove unused include for assert.hdisas/ia64.c hw/i386/xen/xen_platform.c linux-user/signal.c +5 more+0 -90 replies
4/7maint: remove unused include for dirent.hfsdev/virtio-9p-marshal.c hw/tpm/tpm_passthrough.c hw/usb/redirect.c +2 more+0 -60 replies
5/7maint: remove unused include for signal.hbsd-user/signal.c hw/block/xen_disk.c hw/net/xen_nic.c +7 more+0 -100 replies
6/7maint: remove unused include for strings.hdisas/microblaze.c hw/pci/shpc.c page_cache.c +1 more+0 -40 replies
7/7maint: avoid useless "if (foo) free(foo)" patternbackends/hostmem-file.c bsd-user/elfload.c disas/sparc.c +17 more+39 -934 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarc-André LureauMarkus ArmbrusterEric Blake
SeriesR-b
1/7R-b
2/7R-b
3/7
4/7
5/7
6/7
7/7R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/7] Misc trivial code cleanups

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(-)
Signature · 1 line
2.4.3