summary refs log tree commit diff stats
path: root/hw/watchdog/wdt_diag288.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_diag288.c
parent7089977a24133b3b1dd0864f4138efe3b906af4b (diff)
downloadfocaccia-qemu-5433af7697ba97531d97e16e721cfe8a90722198.tar.gz
focaccia-qemu-5433af7697ba97531d97e16e721cfe8a90722198.zip
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_diag288.c')
-rw-r--r--hw/watchdog/wdt_diag288.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/watchdog/wdt_diag288.c b/hw/watchdog/wdt_diag288.c
index 9e8882a11c..76d89fbf78 100644
--- a/hw/watchdog/wdt_diag288.c
+++ b/hw/watchdog/wdt_diag288.c
@@ -19,11 +19,6 @@
 #include "migration/vmstate.h"
 #include "qemu/log.h"
 
-static WatchdogTimerModel model = {
-    .wdt_name = TYPE_WDT_DIAG288,
-    .wdt_description = "diag288 device for s390x platform",
-};
-
 static const VMStateDescription vmstate_diag288 = {
     .name = "vmstate_diag288",
     .version_id = 0,
@@ -138,7 +133,6 @@ static const TypeInfo wdt_diag288_info = {
 
 static void wdt_diag288_register_types(void)
 {
-    watchdog_add_model(&model);
     type_register_static(&wdt_diag288_info);
 }