diff options
author | Thomas Huth <thuth@redhat.com> | 2015-11-10 21:16:09 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:28:23 -0600 |
commit | e63a25da5f2d4adb3ef0dc1809a8aba9cd61cc7c (patch) | |
tree | ecdeeb7e4191e00f72147c66f7881400a226c9a6 /hw/acpi | |
parent | 645a6576478919611cd2d50903176661db6fdf3d (diff) | |
download | hqemu-e63a25da5f2d4adb3ef0dc1809a8aba9cd61cc7c.zip hqemu-e63a25da5f2d4adb3ef0dc1809a8aba9cd61cc7c.tar.gz |
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')
-rw-r--r-- | hw/acpi/memory_hotplug.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/acpi/memory_hotplug.c b/hw/acpi/memory_hotplug.c index 298e868..65cbc80 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, |