]> xenbits.xensource.com Git - qemu-xen.git/commit
hw/sd/sdcard: Simplify realize() a bit
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 6 Jun 2018 01:28:51 +0000 (22:28 -0300)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 14 Jul 2020 13:46:07 +0000 (15:46 +0200)
commit6dd3a164f5b31c703c7d8372841ad3bd6a57de6d
tree4ba3744abfbc60e6a22609b84582b92948a10bb5
parent9157dd597d293ab7f599f4d96c3fe8a6e07c633d
hw/sd/sdcard: Simplify realize() a bit

We don't need to check if sd->blk is set twice.

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-18-f4bug@amsat.org>
hw/sd/sd.c