From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwFLE-0007AL-Be for qemu-devel@nongnu.org; Tue, 10 Nov 2015 15:16:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwFLD-0005K6-HJ for qemu-devel@nongnu.org; Tue, 10 Nov 2015 15:16:32 -0500 From: Thomas Huth Date: Tue, 10 Nov 2015 21:16:09 +0100 Message-Id: <1447186571-27672-3-git-send-email-thuth@redhat.com> In-Reply-To: <1447186571-27672-1-git-send-email-thuth@redhat.com> References: <1447186571-27672-1-git-send-email-thuth@redhat.com> Subject: [Qemu-devel] [PATCH 2/4] hw/acpi: Remove superfluous return statement List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org Cc: Igor Mammedov , "Michael S. Tsirkin" The "return;" statement at the end of acpi_memory_plug_cb() does not make much sense, so let's remove it. Cc: "Michael S. Tsirkin" Cc: Igor Mammedov Signed-off-by: Thomas Huth --- hw/acpi/memory_hotplug.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/acpi/memory_hotplug.c b/hw/acpi/memory_hotplug.c index ce428df..bca7c54 100644 --- a/hw/acpi/memory_hotplug.c +++ b/hw/acpi/memory_hotplug.c @@ -244,7 +244,6 @@ void acpi_memory_plug_cb(ACPIREGS *ar, qemu_irq irq, MemHotplugState *mem_st, /* do ACPI magic */ acpi_send_gpe_event(ar, irq, ACPI_MEMORY_HOTPLUG_STATUS); } - return; } void acpi_memory_unplug_request_cb(ACPIREGS *ar, qemu_irq irq, -- 1.8.3.1