mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
efa3901e14
commit
2106106d80
3 changed files with 14 additions and 16 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue