diff options
author | Thomas Huth <thuth@redhat.com> | 2023-04-19 14:48:31 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-04-20 11:25:32 +0200 |
commit | c138c3b864245d7721a03f01f97e70e47d253839 (patch) | |
tree | d75481d839e58a0f8ba5e5d639fbda12fc5c9718 /softmmu | |
parent | 992deb4c4ff88540edf4f337238e5f84dcdab094 (diff) |
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>
Diffstat (limited to 'softmmu')
-rw-r--r-- | softmmu/vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c index ea20b23e4c..5cb72a56fc 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -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); } |