summary refs log tree commit diff stats
path: root/hw/acpi/acpi-mem-hotplug-stub.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2025-04-07 10:26:42 +0200
committerMarkus Armbruster <armbru@redhat.com>2025-04-24 09:33:42 +0200
commit8a2b516ba2855c4530388051de2b8d17bc780ea8 (patch)
tree1303019c401f96062ce5a35d591ba993d1b79a16 /hw/acpi/acpi-mem-hotplug-stub.c
parent720a0e417ef0814d90aa884096a643b02ee854dc (diff)
downloadfocaccia-qemu-8a2b516ba2855c4530388051de2b8d17bc780ea8.tar.gz
focaccia-qemu-8a2b516ba2855c4530388051de2b8d17bc780ea8.zip
cleanup: Drop pointless return at end of function
A few functions now end with a label.  The next commit will clean them
up.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250407082643.2310002-3-armbru@redhat.com>
[Straightforward conflict with commit 988ad4ccebb6 (hw/loongarch/virt:
Fix cpuslot::cpu set at last in virt_cpu_plug()) resolved]
Diffstat (limited to 'hw/acpi/acpi-mem-hotplug-stub.c')
-rw-r--r--hw/acpi/acpi-mem-hotplug-stub.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/acpi/acpi-mem-hotplug-stub.c b/hw/acpi/acpi-mem-hotplug-stub.c
index 73a076a265..7ad0fdcdf2 100644
--- a/hw/acpi/acpi-mem-hotplug-stub.c
+++ b/hw/acpi/acpi-mem-hotplug-stub.c
@@ -7,29 +7,24 @@ const VMStateDescription vmstate_memory_hotplug;
 void acpi_memory_hotplug_init(MemoryRegion *as, Object *owner,
                               MemHotplugState *state, hwaddr io_base)
 {
-    return;
 }
 
 void acpi_memory_ospm_status(MemHotplugState *mem_st, ACPIOSTInfoList ***list)
 {
-    return;
 }
 
 void acpi_memory_plug_cb(HotplugHandler *hotplug_dev, MemHotplugState *mem_st,
                          DeviceState *dev, Error **errp)
 {
-    return;
 }
 
 void acpi_memory_unplug_cb(MemHotplugState *mem_st,
                            DeviceState *dev, Error **errp)
 {
-    return;
 }
 
 void acpi_memory_unplug_request_cb(HotplugHandler *hotplug_dev,
                                    MemHotplugState *mem_st,
                                    DeviceState *dev, Error **errp)
 {
-    return;
 }