[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/watchdog/wdt_diag288: Remove unnecessary includes
From: |
Christian Borntraeger |
Subject: |
Re: [PATCH] hw/watchdog/wdt_diag288: Remove unnecessary includes |
Date: |
Wed, 18 Nov 2020 10:06:52 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 |
On 18.11.20 10:03, Thomas Huth wrote:
> Both headers, sysbus.h and module.h, are not required to compile this file.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
It is not a sysbus device and not a module.
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
> ---
> hw/watchdog/wdt_diag288.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/hw/watchdog/wdt_diag288.c b/hw/watchdog/wdt_diag288.c
> index 71a945f0bd..4c4b6a6ab7 100644
> --- a/hw/watchdog/wdt_diag288.c
> +++ b/hw/watchdog/wdt_diag288.c
> @@ -14,12 +14,10 @@
> #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,
>
- [PATCH] hw/watchdog/wdt_diag288: Remove unnecessary includes, Thomas Huth, 2020/11/18
- Re: [PATCH] hw/watchdog/wdt_diag288: Remove unnecessary includes,
Christian Borntraeger <=
- Re: [PATCH] hw/watchdog/wdt_diag288: Remove unnecessary includes, Philippe Mathieu-Daudé, 2020/11/18
- Re: [PATCH] hw/watchdog/wdt_diag288: Remove unnecessary includes, Markus Armbruster, 2020/11/18
- Re: [PATCH] hw/watchdog/wdt_diag288: Remove unnecessary includes, Peter Maydell, 2020/11/18
- Re: [PATCH] hw/watchdog/wdt_diag288: Remove unnecessary includes, Thomas Huth, 2020/11/23
- Re: [PATCH] hw/watchdog/wdt_diag288: Remove unnecessary includes, Markus Armbruster, 2020/11/23
- Re: [PATCH] hw/watchdog/wdt_diag288: Remove unnecessary includes, Cornelia Huck, 2020/11/23
- Re: [PATCH] hw/watchdog/wdt_diag288: Remove unnecessary includes, Thomas Huth, 2020/11/23
- Re: [PATCH] hw/watchdog/wdt_diag288: Remove unnecessary includes, Cornelia Huck, 2020/11/24
Re: [PATCH] hw/watchdog/wdt_diag288: Remove unnecessary includes, Cornelia Huck, 2020/11/24