Re: [PATCH v3 11/11] hw/sd/sdcard: Simplify realize() a bit

2020-06-15 Thread Peter Maydell
On Fri, 5 Jun 2020 at 11:28, Philippe Mathieu-Daudé wrote: > > From: Philippe Mathieu-Daudé > > We don't need to check if sd->blk is set twice. > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/sd/sd.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/hw/sd/

[PATCH v3 11/11] hw/sd/sdcard: Simplify realize() a bit

2020-06-05 Thread Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé We don't need to check if sd->blk is set twice. Signed-off-by: Philippe Mathieu-Daudé --- hw/sd/sd.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/sd/sd.c b/hw/sd/sd.c index a1b25ed36f..060ca9d993 100644 --- a/hw/sd/sd.c +++ b/hw