diff options
author | Peter Maydell | 2021-01-28 12:41:44 +0100 |
---|---|---|
committer | Peter Maydell | 2021-01-29 16:54:44 +0100 |
commit | 38867d0b7e7266d845d1b7d471edae4b73e9eb1a (patch) | |
tree | fe75984fd38f9df85afb85d591c83c77c54f802c /hw/timer/cmsdk-apb-dualtimer.c | |
parent | arm: Don't set freq properties on CMSDK timer, dualtimer, watchdog, ARMSSE (diff) | |
download | qemu-38867d0b7e7266d845d1b7d471edae4b73e9eb1a.tar.gz qemu-38867d0b7e7266d845d1b7d471edae4b73e9eb1a.tar.xz qemu-38867d0b7e7266d845d1b7d471edae4b73e9eb1a.zip |
arm: Remove frq properties on CMSDK timer, dualtimer, watchdog, ARMSSE
Now no users are setting the frq properties on the CMSDK timer,
dualtimer, watchdog or ARMSSE SoC devices, we can remove the
properties and the struct fields that back them.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210128114145.20536-25-peter.maydell@linaro.org
Message-id: 20210121190622.22000-25-peter.maydell@linaro.org
Diffstat (limited to 'hw/timer/cmsdk-apb-dualtimer.c')
-rw-r--r-- | hw/timer/cmsdk-apb-dualtimer.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/timer/cmsdk-apb-dualtimer.c b/hw/timer/cmsdk-apb-dualtimer.c index 828127b366..ef49f5852d 100644 --- a/hw/timer/cmsdk-apb-dualtimer.c +++ b/hw/timer/cmsdk-apb-dualtimer.c @@ -533,11 +533,6 @@ static const VMStateDescription cmsdk_apb_dualtimer_vmstate = { } }; -static Property cmsdk_apb_dualtimer_properties[] = { - DEFINE_PROP_UINT32("pclk-frq", CMSDKAPBDualTimer, pclk_frq, 0), - DEFINE_PROP_END_OF_LIST(), -}; - static void cmsdk_apb_dualtimer_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); @@ -545,7 +540,6 @@ static void cmsdk_apb_dualtimer_class_init(ObjectClass *klass, void *data) dc->realize = cmsdk_apb_dualtimer_realize; dc->vmsd = &cmsdk_apb_dualtimer_vmstate; dc->reset = cmsdk_apb_dualtimer_reset; - device_class_set_props(dc, cmsdk_apb_dualtimer_properties); } static const TypeInfo cmsdk_apb_dualtimer_info = { |