Re: [Qemu-devel] [PATCH] hw/sysbus.c: Remove unnecessary conditionals

2011-12-20 Thread Anthony Liguori
On 12/19/2011 02:33 PM, Peter Maydell wrote: Now that all sysbus MMIO regions are MemoryRegions, mmio[n].memory is never NULL, and we can remove some unnecessary conditionals. Signed-off-by: Peter Maydell Applied. Thanks. Regards, Anthony Liguori --- A minor tidyup following Benoît's now-

[Qemu-devel] [PATCH] hw/sysbus.c: Remove unnecessary conditionals

2011-12-19 Thread Peter Maydell
Now that all sysbus MMIO regions are MemoryRegions, mmio[n].memory is never NULL, and we can remove some unnecessary conditionals. Signed-off-by: Peter Maydell --- A minor tidyup following Benoît's now-applied patches to remove sysbus_init_mmio_cb2(). hw/sysbus.c | 18 +- 1 fi