diff options
author | Richard Henderson | 2022-06-28 13:17:00 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2022-07-12 22:32:18 +0200 |
commit | 3bb45bbc6fa59f35ab42e39ea4f4bcf67fea8d5f (patch) | |
tree | 5ae3e65b04084b658f3586847c4fdc0f62b976a5 /scripts | |
parent | semihosting: Remove qemu_semihosting_log_out (diff) | |
download | qemu-3bb45bbc6fa59f35ab42e39ea4f4bcf67fea8d5f.tar.gz qemu-3bb45bbc6fa59f35ab42e39ea4f4bcf67fea8d5f.tar.xz qemu-3bb45bbc6fa59f35ab42e39ea4f4bcf67fea8d5f.zip |
target/mips: Simplify UHI_argnlen and UHI_argn
With semihosting_get_arg, we already have a check vs argc, so
there's no point replicating it -- just check the result vs NULL.
Merge copy_argn_to_target into its caller.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220628111701.677216-8-richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions