Re: [Qemu-devel] [PATCH v3 3/3] sysbus: remove sysbus_init_mmio_cb2

2011-12-18 Thread Peter Maydell
On 16 December 2011 22:37, Benoît Canet wrote: > This function is not longer in use so remove it. > > Signed-off-by: Benoît Canet Nothing wrong here, but you can go further: it's now the case that for all mmio regions s->mmio[n].memory is non-NULL, so you can remove some if() conditionals in sys

[Qemu-devel] [PATCH v3 3/3] sysbus: remove sysbus_init_mmio_cb2

2011-12-16 Thread Benoît Canet
This function is not longer in use so remove it. Signed-off-by: Benoît Canet --- hw/sysbus.c | 16 hw/sysbus.h |5 - 2 files changed, 0 insertions(+), 21 deletions(-) diff --git a/hw/sysbus.c b/hw/sysbus.c index b315a8c..81a57bd 100644 --- a/hw/sysbus.c +++ b/hw/sysbu