The .class_init field was set twice in the TypeInfo struct.

Reported-by: Pavee Hui <[email protected]>
Signed-off-by: Marc-André Lureau <[email protected]>
---
 hw/input/pl050.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/input/pl050.c b/hw/input/pl050.c
index 48df2734e269..3731e6969850 100644
--- a/hw/input/pl050.c
+++ b/hw/input/pl050.c
@@ -265,7 +265,6 @@ static const TypeInfo pl050_type_info = {
     .class_init    = pl050_class_init,
     .class_size    = sizeof(PL050DeviceClass),
     .abstract      = true,
-    .class_init    = pl050_class_init,
 };
 
 static void pl050_register_types(void)

-- 
2.56.0.rc0.29.g47ce80527c56


Reply via email to