summary refs log tree commit diff stats
path: root/hw/misc/mps2-fpgaio.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2018-06-26 14:46:44 -0300
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-10-26 00:36:52 +0100
commitef6dd5f5c41b2d8fcfd72c946ac224e6c3aa1363 (patch)
treea3ad2a1fc61796b3751134ec004da30bfb81c9c3 /hw/misc/mps2-fpgaio.c
parent9820502cad6c1b5810d90c7189badef882471dc7 (diff)
downloadfocaccia-qemu-ef6dd5f5c41b2d8fcfd72c946ac224e6c3aa1363.tar.gz
focaccia-qemu-ef6dd5f5c41b2d8fcfd72c946ac224e6c3aa1363.zip
hw/sd/sdcard: Simplify cmd_valid_while_locked()
cmd_valid_while_locked() only needs to read SDRequest->cmd,
pass it directly and make it const.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20200630133912.9428-13-f4bug@amsat.org>
Diffstat (limited to 'hw/misc/mps2-fpgaio.c')
0 files changed, 0 insertions, 0 deletions