[PATCH] hw/watchdog/wdt_aspeed: Remove unused 'hw/misc/aspeed_scu.h' header

Philippe Mathieu-Daudé posted 1 patch 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231027134200.29906-1-philmd@linaro.org
Maintainers: "Cédric Le Goater" <clg@kaod.org>, Peter Maydell <peter.maydell@linaro.org>, Andrew Jeffery <andrew@codeconstruct.com.au>, Joel Stanley <joel@jms.id.au>
hw/watchdog/wdt_aspeed.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] hw/watchdog/wdt_aspeed: Remove unused 'hw/misc/aspeed_scu.h' header
Posted by Philippe Mathieu-Daudé 1 year, 1 month ago
Aspeed watchdog doesn't use anything from the System Control Unit.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 hw/watchdog/wdt_aspeed.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/watchdog/wdt_aspeed.c b/hw/watchdog/wdt_aspeed.c
index d267aa185c..273a49d360 100644
--- a/hw/watchdog/wdt_aspeed.c
+++ b/hw/watchdog/wdt_aspeed.c
@@ -14,7 +14,6 @@
 #include "qemu/module.h"
 #include "qemu/timer.h"
 #include "sysemu/watchdog.h"
-#include "hw/misc/aspeed_scu.h"
 #include "hw/qdev-properties.h"
 #include "hw/sysbus.h"
 #include "hw/watchdog/wdt_aspeed.h"
-- 
2.41.0


Re: [PATCH] hw/watchdog/wdt_aspeed: Remove unused 'hw/misc/aspeed_scu.h' header
Posted by Cédric Le Goater 1 year, 1 month ago
On 10/27/23 15:42, Philippe Mathieu-Daudé wrote:
> Aspeed watchdog doesn't use anything from the System Control Unit.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>


Reviewed-by: Cédric Le Goater <clg@kaod.org>

Thanks,

C.


> ---
>   hw/watchdog/wdt_aspeed.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/hw/watchdog/wdt_aspeed.c b/hw/watchdog/wdt_aspeed.c
> index d267aa185c..273a49d360 100644
> --- a/hw/watchdog/wdt_aspeed.c
> +++ b/hw/watchdog/wdt_aspeed.c
> @@ -14,7 +14,6 @@
>   #include "qemu/module.h"
>   #include "qemu/timer.h"
>   #include "sysemu/watchdog.h"
> -#include "hw/misc/aspeed_scu.h"
>   #include "hw/qdev-properties.h"
>   #include "hw/sysbus.h"
>   #include "hw/watchdog/wdt_aspeed.h"