qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/4] tosa-ssp: No need to override instance_size


From: Eduardo Habkost
Subject: [PATCH 1/4] tosa-ssp: No need to override instance_size
Date: Wed, 26 Aug 2020 13:10:02 -0400

TYPE_SSI_SLAVE already sets instance_size=sizeof(SSISlave),
there's no need to override it.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
Cc: Andrzej Zaborowski <balrogg@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-arm@nongnu.org
Cc: qemu-devel@nongnu.org
---
 hw/arm/tosa.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/arm/tosa.c b/hw/arm/tosa.c
index e29566f7b3..2c5a8a50a1 100644
--- a/hw/arm/tosa.c
+++ b/hw/arm/tosa.c
@@ -311,7 +311,6 @@ static void tosa_ssp_class_init(ObjectClass *klass, void 
*data)
 static const TypeInfo tosa_ssp_info = {
     .name          = "tosa-ssp",
     .parent        = TYPE_SSI_SLAVE,
-    .instance_size = sizeof(SSISlave),
     .class_init    = tosa_ssp_class_init,
 };
 
-- 
2.26.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]