Re: [Qemu-devel] [PATCH] hw/sd: Don't pass BlockBackend to sd_reset()

2015-05-04 Thread Markus Armbruster
Peter Maydell writes: > The only valid BlockBackend to pass to sd_reset() is the one for > the SD card, which is sd->blk. Drop the second argument from this > function in favour of having it just use sd->blk. > > Signed-off-by: Peter Maydell > --- > A minor cleanup that was lurking in the omap3

[Qemu-devel] [PATCH] hw/sd: Don't pass BlockBackend to sd_reset()

2015-05-03 Thread Peter Maydell
The only valid BlockBackend to pass to sd_reset() is the one for the SD card, which is sd->blk. Drop the second argument from this function in favour of having it just use sd->blk. Signed-off-by: Peter Maydell --- A minor cleanup that was lurking in the omap3 tree (where it's used to allow SD car