From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwFL1-0006rW-9Q for qemu-devel@nongnu.org; Tue, 10 Nov 2015 15:16:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwFKy-0005Ef-2O for qemu-devel@nongnu.org; Tue, 10 Nov 2015 15:16:19 -0500 From: Thomas Huth Date: Tue, 10 Nov 2015 21:16:07 +0100 Message-Id: <1447186571-27672-1-git-send-email-thuth@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] Remove superfluous return statements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org 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(-) -- 1.8.3.1