mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
cpu: Remove parameter of list_cpus()
The "optarg" parameter is completely unused, so let's drop it. Message-Id: <20230419124831.678079-1-thuth@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
992deb4c4f
commit
c138c3b864
3 changed files with 3 additions and 3 deletions
|
@ -2432,7 +2432,7 @@ static void qemu_process_help_options(void)
|
|||
* to say '-cpu help -machine something'.
|
||||
*/
|
||||
if (cpu_option && is_help_option(cpu_option)) {
|
||||
list_cpus(cpu_option);
|
||||
list_cpus();
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue