OSDN Git Service

hw/arm/bcm2835: Drop futile attempts at QOM-adopting memory
authorMarkus Armbruster <armbru@redhat.com>
Tue, 5 May 2020 15:29:20 +0000 (17:29 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 15 May 2020 05:07:58 +0000 (07:07 +0200)
commit5462cc8110845f88ae80b82799121d15c9c3a8fc
tree933694d0546343c4538394565f9fbc053e15211c
parenta13f20422dc657719c3fa335788300c7ccf464ee
hw/arm/bcm2835: Drop futile attempts at QOM-adopting memory

The "bcm2835-peripherals" device's .instance_init() method
bcm2835_peripherals_init() attempts to make two memory regions QOM
children of the device.  This is futile, because memory_region_init()
already did.  The errors are ignored (a later commit will change
that).  Drop the useless calls.

Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Andrew Baumann <Andrew.Baumann@microsoft.com>
Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: qemu-arm@nongnu.org
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200505152926.18877-13-armbru@redhat.com>
hw/arm/bcm2835_peripherals.c