hw/ppc/e500: Prefer local variable over qdev_get_machine()
commit1a3e6528acbaeb37707f80f4a002cfa4c645e926
authorBernhard Beschow <shentey@gmail.com>
Fri, 16 Dec 2022 14:57:07 +0000 (16 15:57 +0100)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Wed, 21 Dec 2022 17:17:55 +0000 (21 14:17 -0300)
tree132caabad6ef131db01a9009656a893366796574
parent712622385b6fd0c8cc6a5ff2dad8da7cbfdb0dd3
hw/ppc/e500: Prefer local variable over qdev_get_machine()

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221216145709.271940-5-shentey@gmail.com>
[danielhb: remove linebreak in object_property_add_child()]
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/e500.c