diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2018-06-26 14:46:44 -0300 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-10-26 00:36:52 +0100 |
commit | ef6dd5f5c41b2d8fcfd72c946ac224e6c3aa1363 (patch) | |
tree | a3ad2a1fc61796b3751134ec004da30bfb81c9c3 /configure | |
parent | 9820502cad6c1b5810d90c7189badef882471dc7 (diff) |
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 'configure')
0 files changed, 0 insertions, 0 deletions