Skip to content

Remove superfluous return statements

Thomas Huth qemu-devel qemu-trivial 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hw/ide: Remove superfluous return statementshw/ide/atapi.c hw/ide/macio.c+0 -31 reply
2/4hw/acpi: Remove superfluous return statementhw/acpi/memory_hotplug.c+0 -10 replies
3/4hw/s390x: Remove superfluous return statementshw/s390x/css.c hw/s390x/event-facility.c hw/s390x/s390-pci-bus.c+6 -202 replies
4/4hw/core/qdev: Remove superfluous return statementhw/core/qdev.c+0 -10 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchJohn Snow
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] Remove superfluous return statements

Some functions in QEMU have a "return;" statement at the very end of a function with "void" return type, i.e. the return statement is superfluous. This patch series removes some of them.

Thomas Huth (4):
hw/ide: Remove superfluous return statements hw/acpi: Remove superfluous return statement hw/s390x: Remove superfluous return statements hw/core/qdev: Remove superfluous return statement

 hw/acpi/memory_hotplug.c  |  1 -
 hw/core/qdev.c            |  1 -
 hw/ide/atapi.c            |  1 -
 hw/ide/macio.c            |  2 --
 hw/s390x/css.c            |  1 -
 hw/s390x/event-facility.c | 21 ++++++---------------
 hw/s390x/s390-pci-bus.c   |  4 ----
 7 files changed, 6 insertions(+), 25 deletions(-)
Signature · 1 line
1.8.3.1