diff options
author | Philippe Mathieu-Daudé | 2018-06-26 19:46:44 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2020-10-26 00:36:52 +0100 |
commit | ef6dd5f5c41b2d8fcfd72c946ac224e6c3aa1363 (patch) | |
tree | a3ad2a1fc61796b3751134ec004da30bfb81c9c3 /linux-user | |
parent | hw/sd/sdcard: Update the SDState documentation (diff) | |
download | qemu-ef6dd5f5c41b2d8fcfd72c946ac224e6c3aa1363.tar.gz qemu-ef6dd5f5c41b2d8fcfd72c946ac224e6c3aa1363.tar.xz 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 'linux-user')
0 files changed, 0 insertions, 0 deletions