summary refs log tree commit diff stats
path: root/hw/i2c/pmbus_device.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-06-28 16:47:00 +0530
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2022-07-12 22:32:18 +0200
commit3bb45bbc6fa59f35ab42e39ea4f4bcf67fea8d5f (patch)
tree5ae3e65b04084b658f3586847c4fdc0f62b976a5 /hw/i2c/pmbus_device.c
parent938fcd741ad656b2c4aeb1654bfc4ff221c26bbf (diff)
downloadfocaccia-qemu-3bb45bbc6fa59f35ab42e39ea4f4bcf67fea8d5f.tar.gz
focaccia-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 'hw/i2c/pmbus_device.c')
0 files changed, 0 insertions, 0 deletions