From: Richard Henderson Date: Wed, 18 Dec 2024 13:42:32 +0000 (-0600) Subject: hw/pci-host/astro: Remove empty Property list X-Git-Tag: v10.0.0-rc0~111^2~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c32e946e5a269f77f65ce299b1ecdeae7346d04c;p=thirdparty%2Fqemu.git hw/pci-host/astro: Remove empty Property list Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Tested-by: Lei Yang Link: https://lore.kernel.org/r/20241218134251.4724-6-richard.henderson@linaro.org Signed-off-by: Paolo Bonzini --- diff --git a/hw/pci-host/astro.c b/hw/pci-host/astro.c index 379095b3566..62e9c8acbf4 100644 --- a/hw/pci-host/astro.c +++ b/hw/pci-host/astro.c @@ -461,10 +461,6 @@ static void elroy_pcihost_init(Object *obj) qdev_init_gpio_in(DEVICE(obj), elroy_set_irq, ELROY_IRQS); } -static Property elroy_pcihost_properties[] = { - DEFINE_PROP_END_OF_LIST(), -}; - static const VMStateDescription vmstate_elroy = { .name = "Elroy", .version_id = 1, @@ -490,7 +486,6 @@ static void elroy_pcihost_class_init(ObjectClass *klass, void *data) DeviceClass *dc = DEVICE_CLASS(klass); device_class_set_legacy_reset(dc, elroy_reset); - device_class_set_props(dc, elroy_pcihost_properties); dc->vmsd = &vmstate_elroy; dc->user_creatable = false; }