summaryrefslogtreecommitdiffstats
path: root/hw/acpi/memory_hotplug.c
diff options
context:
space:
mode:
authorThomas Huth2015-11-10 21:16:09 +0100
committerMichael Tokarev2016-01-11 09:39:28 +0100
commitff433bbb82d2c1b4c0146ccb0ce78f58fb382fda (patch)
tree37da3645a13e63381d84d04c82b8e0b851f3b097 /hw/acpi/memory_hotplug.c
parenthw/ide: Remove superfluous return statements (diff)
downloadqemu-ff433bbb82d2c1b4c0146ccb0ce78f58fb382fda.tar.gz
qemu-ff433bbb82d2c1b4c0146ccb0ce78f58fb382fda.tar.xz
qemu-ff433bbb82d2c1b4c0146ccb0ce78f58fb382fda.zip
hw/acpi: Remove superfluous return statement
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" <mst@redhat.com> Cc: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/acpi/memory_hotplug.c')
-rw-r--r--hw/acpi/memory_hotplug.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/acpi/memory_hotplug.c b/hw/acpi/memory_hotplug.c
index 298e8682af..65cbc80414 100644
--- a/hw/acpi/memory_hotplug.c
+++ b/hw/acpi/memory_hotplug.c
@@ -250,7 +250,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,