mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -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
|
@ -826,8 +826,6 @@ static void get_disk_properties(HANDLE vol_h, GuestDiskAddress *disk,
|
|||
}
|
||||
out_free:
|
||||
g_free(dev_desc);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static void get_single_disk_info(int disk_number,
|
||||
|
@ -891,7 +889,6 @@ static void get_single_disk_info(int disk_number,
|
|||
|
||||
err_close:
|
||||
CloseHandle(disk_h);
|
||||
return;
|
||||
}
|
||||
|
||||
/* VSS provider works with volumes, thus there is no difference if
|
||||
|
@ -2117,7 +2114,6 @@ static void ga_get_win_version(RTL_OSVERSIONINFOEXW *info, Error **errp)
|
|||
|
||||
rtl_get_version_t rtl_get_version = (rtl_get_version_t)fun;
|
||||
rtl_get_version(info);
|
||||
return;
|
||||
}
|
||||
|
||||
static char *ga_get_win_name(const OSVERSIONINFOEXW *os_version, bool id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue