]> xenbits.xensource.com Git - qemu-xen-4.6-testing.git/commit
hw/sysbus.c: Remove unnecessary conditionals
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 19 Dec 2011 20:33:59 +0000 (20:33 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 20 Dec 2011 21:44:31 +0000 (15:44 -0600)
commite114fead273e2a7d453c2fb67c74cad58c34581d
treea4974e5a82f21f25ed977131931fca24176ff837
parent42ed3727536ccf80c87942b3f04e7378fe90f107
hw/sysbus.c: Remove unnecessary conditionals

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 <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/sysbus.c