]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
hw/acpi: Remove superfluous return statement
authorThomas Huth <thuth@redhat.com>
Tue, 10 Nov 2015 20:16:09 +0000 (21:16 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 11 Jan 2016 08:39:28 +0000 (11:39 +0300)
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>
hw/acpi/memory_hotplug.c

index 298e8682afcf49a8f7d355b1506d657389f94c2d..65cbc80414d4bd194f43451789718d6cf834c739 100644 (file)
@@ -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,