aboutsummaryrefslogtreecommitdiff
path: root/hw/watchdog/wdt_aspeed.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-09-10 13:44:47 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-09-29 11:40:28 +0200
commit5433af7697ba97531d97e16e721cfe8a90722198 (patch)
treec0249d5dd7c856e3b07cb80b064ffa7f729b77fd /hw/watchdog/wdt_aspeed.c
parent7089977a24133b3b1dd0864f4138efe3b906af4b (diff)
downloadqemu-5433af7697ba97531d97e16e721cfe8a90722198.zip
qemu-5433af7697ba97531d97e16e721cfe8a90722198.tar.gz
qemu-5433af7697ba97531d97e16e721cfe8a90722198.tar.bz2
watchdog: remove -watchdog option
This was deprecated in 6.2 and is ready to go. It removes quite a bit of code that handled the registration of watchdog models. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/watchdog/wdt_aspeed.c')
-rw-r--r--hw/watchdog/wdt_aspeed.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/watchdog/wdt_aspeed.c b/hw/watchdog/wdt_aspeed.c
index 31855af..d753693 100644
--- a/hw/watchdog/wdt_aspeed.c
+++ b/hw/watchdog/wdt_aspeed.c
@@ -202,11 +202,6 @@ static void aspeed_wdt_write(void *opaque, hwaddr offset, uint64_t data,
return;
}
-static WatchdogTimerModel model = {
- .wdt_name = TYPE_ASPEED_WDT,
- .wdt_description = "Aspeed watchdog device",
-};
-
static const VMStateDescription vmstate_aspeed_wdt = {
.name = "vmstate_aspeed_wdt",
.version_id = 0,
@@ -416,7 +411,6 @@ static const TypeInfo aspeed_1030_wdt_info = {
static void wdt_aspeed_register_types(void)
{
- watchdog_add_model(&model);
type_register_static(&aspeed_wdt_info);
type_register_static(&aspeed_2400_wdt_info);
type_register_static(&aspeed_2500_wdt_info);