From 2106106d80489fb9b10cd3ccfaec811988e797cb Mon Sep 17 00:00:00 2001 From: Claudio Fontana Date: Thu, 29 Sep 2022 11:30:31 +0200 Subject: module: removed unused function argument "mayfail" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20220929093035.4231-2-cfontana@suse.de> Signed-off-by: Paolo Bonzini --- softmmu/qtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'softmmu/qtest.c') 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"); -- cgit v1.2.3