]> xenbits.xensource.com Git - qemu-xen.git/commit
sdcard: simplify SEND_IF_COND (CMD8)
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 22 Feb 2018 15:12:54 +0000 (15:12 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 22 Feb 2018 15:12:54 +0000 (15:12 +0000)
commitad0ade55479490fa57ffa31d50fb355e0084c61b
tree495a68e965b9513b9b89e89d6088ff9ed0f70eeb
parent3116280040a7ca898b925651001962167433b084
sdcard: simplify SEND_IF_COND (CMD8)

replace switch(single case) -> if()

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 20180215221325.7611-16-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/sd/sd.c