[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 07/24] hw/tricore: Remove empty Property lists
From: |
Richard Henderson |
Subject: |
[PATCH 07/24] hw/tricore: Remove empty Property lists |
Date: |
Sun, 15 Dec 2024 21:50:52 -0600 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/tricore/tc27x_soc.c | 5 -----
hw/tricore/tricore_testdevice.c | 5 -----
2 files changed, 10 deletions(-)
diff --git a/hw/tricore/tc27x_soc.c b/hw/tricore/tc27x_soc.c
index ecd92717b5..81bb16d89b 100644
--- a/hw/tricore/tc27x_soc.c
+++ b/hw/tricore/tc27x_soc.c
@@ -201,16 +201,11 @@ static void tc27x_soc_init(Object *obj)
object_initialize_child(obj, "tc27x", &s->cpu, sc->cpu_type);
}
-static Property tc27x_soc_properties[] = {
- DEFINE_PROP_END_OF_LIST(),
-};
-
static void tc27x_soc_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
dc->realize = tc27x_soc_realize;
- device_class_set_props(dc, tc27x_soc_properties);
}
static void tc277d_soc_class_init(ObjectClass *oc, void *data)
diff --git a/hw/tricore/tricore_testdevice.c b/hw/tricore/tricore_testdevice.c
index ae95c49565..e60866d76f 100644
--- a/hw/tricore/tricore_testdevice.c
+++ b/hw/tricore/tricore_testdevice.c
@@ -58,15 +58,10 @@ static void tricore_testdevice_init(Object *obj)
"tricore_testdevice", 0x4);
}
-static Property tricore_testdevice_properties[] = {
- DEFINE_PROP_END_OF_LIST()
-};
-
static void tricore_testdevice_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
- device_class_set_props(dc, tricore_testdevice_properties);
device_class_set_legacy_reset(dc, tricore_testdevice_reset);
}
--
2.43.0
- [PATCH 00/24] More Property cleanups, Richard Henderson, 2024/12/15
- [PATCH 01/24] migration: Constify migration_properties, Richard Henderson, 2024/12/15
- [PATCH 03/24] target/ppc: Remove empty property list, Richard Henderson, 2024/12/15
- [PATCH 05/24] hw/pci-host/astro: Remove empty Property list, Richard Henderson, 2024/12/15
- [PATCH 02/24] hw/ide: Constify sysbus_ahci_properties, Richard Henderson, 2024/12/15
- [PATCH 07/24] hw/tricore: Remove empty Property lists,
Richard Henderson <=
- [PATCH 04/24] target/s390x: Use s390x_cpu_properties for system mode only, Richard Henderson, 2024/12/15
- [PATCH 06/24] hw/ppc: Only register spapr_nvdimm_properties if CONFIG_LIBPMEM, Richard Henderson, 2024/12/15
- [PATCH 10/24] hw/sparc: Remove empty Property lists, Richard Henderson, 2024/12/15
- [PATCH 08/24] hw/s390x: Remove empty Property lists, Richard Henderson, 2024/12/15
- [PATCH 09/24] hw/xen: Remove empty Property lists, Richard Henderson, 2024/12/15
- [PATCH 12/24] include/hw/qdev-core: Detect most empty Property lists at compile time, Richard Henderson, 2024/12/15
- [PATCH 13/24] hw/core: Introduce device_class_set_props_n, Richard Henderson, 2024/12/15
- [PATCH 11/24] hw/virtio: Remove empty Property lists, Richard Henderson, 2024/12/15