Skip to content

Commit

Permalink
hw/acpi: Remove superfluous return statement
Browse files Browse the repository at this point in the history
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" <[email protected]>
Cc: Igor Mammedov <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
  • Loading branch information
huth authored and Michael Tokarev committed Jan 11, 2016
1 parent 4e6f7cf commit ff433bb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hw/acpi/memory_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ff433bb

Please sign in to comment.