]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
hw/watchdog/wdt_diag288: Remove unnecessary includes
authorThomas Huth <thuth@redhat.com>
Wed, 18 Nov 2020 09:03:44 +0000 (10:03 +0100)
committerCornelia Huck <cohuck@redhat.com>
Fri, 11 Dec 2020 10:38:10 +0000 (11:38 +0100)
Neither sysbus.h nor module.h are required to compile this file.
diag288 is not a sysbus device, and module.h (for type_init) is
included eventually through qom/object.h.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Message-Id: <20201118090344.243117-1-thuth@redhat.com>
[CH: tweaked description]
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/watchdog/wdt_diag288.c

index 71a945f0bdf3df0faed7ba585d62f244fe2f49ba..4c4b6a6ab70442156d138698bb6e948cdd600859 100644 (file)
 #include "qemu/osdep.h"
 #include "sysemu/reset.h"
 #include "sysemu/watchdog.h"
-#include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "hw/watchdog/wdt_diag288.h"
 #include "migration/vmstate.h"
 #include "qemu/log.h"
-#include "qemu/module.h"
 
 static WatchdogTimerModel model = {
     .wdt_name = TYPE_WDT_DIAG288,