diff options
author | Claudio Fontana <cfontana@suse.de> | 2022-09-29 11:30:31 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-11-06 09:48:50 +0100 |
commit | 2106106d80489fb9b10cd3ccfaec811988e797cb (patch) | |
tree | 08c696257ff6592485d5bf9b78ef8f3455cc1b9a /softmmu | |
parent | efa3901e14a6428ef775332a6df958fb5b27af32 (diff) |
module: removed unused function argument "mayfail"
mayfail is always passed as false for every invocation throughout the program.
It controls whether to printf or not to printf an error on
g_module_open failure.
Remove this unused argument.
Signed-off-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220929093035.4231-2-cfontana@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'softmmu')
-rw-r--r-- | softmmu/qtest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/qtest.c b/softmmu/qtest.c index afea7693d0..ff74c5d709 100644 --- a/softmmu/qtest.c +++ b/softmmu/qtest.c @@ -756,7 +756,7 @@ static void qtest_process_command(CharBackend *chr, gchar **words) g_assert(words[1] && words[2]); qtest_send_prefix(chr); - if (module_load_one(words[1], words[2], false)) { + if (module_load_one(words[1], words[2])) { qtest_sendf(chr, "OK\n"); } else { qtest_sendf(chr, "FAIL\n"); |