mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
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 988ad4cceb
(hw/loongarch/virt:
Fix cpuslot::cpu set at last in virt_cpu_plug()) resolved]
This commit is contained in:
parent
720a0e417e
commit
8a2b516ba2
113 changed files with 0 additions and 196 deletions
|
@ -948,7 +948,6 @@ static void virt_cpu_unplug(HotplugHandler *hotplug_dev,
|
|||
|
||||
cpu_slot = virt_find_cpu_slot(MACHINE(lvms), cpu->phy_id);
|
||||
cpu_slot->cpu = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
static void virt_cpu_plug(HotplugHandler *hotplug_dev,
|
||||
|
@ -973,7 +972,6 @@ static void virt_cpu_plug(HotplugHandler *hotplug_dev,
|
|||
|
||||
cpu_slot = virt_find_cpu_slot(MACHINE(lvms), cpu->phy_id);
|
||||
cpu_slot->cpu = CPU(dev);
|
||||
return;
|
||||
}
|
||||
|
||||
static bool memhp_type_supported(DeviceState *dev)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue