summaryrefslogtreecommitdiffstats
path: root/softmmu
diff options
context:
space:
mode:
authorClaudio Fontana2022-09-29 11:30:31 +0200
committerPaolo Bonzini2022-11-06 09:48:50 +0100
commit2106106d80489fb9b10cd3ccfaec811988e797cb (patch)
tree08c696257ff6592485d5bf9b78ef8f3455cc1b9a /softmmu
parentAdd missing include statement for global xml_builtin (diff)
downloadqemu-2106106d80489fb9b10cd3ccfaec811988e797cb.tar.gz
qemu-2106106d80489fb9b10cd3ccfaec811988e797cb.tar.xz
qemu-2106106d80489fb9b10cd3ccfaec811988e797cb.zip
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.c2
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");