[PATCH for-9.2 14/53] hw/timer/pxa2xx_timer: Remove use of pxa.h header

Peter Maydell posted 53 patches 2 months, 3 weeks ago
[PATCH for-9.2 14/53] hw/timer/pxa2xx_timer: Remove use of pxa.h header
Posted by Peter Maydell 2 months, 3 weeks ago
pxa2xx_timer includes pxa.h, but it doesn't actually make
use of any of the #defines, function prototypes or structs
defined there. Remove the unnecessary include (we will
shortly be removing the whole header file).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 hw/timer/pxa2xx_timer.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/timer/pxa2xx_timer.c b/hw/timer/pxa2xx_timer.c
index 6479ab1a8b3..d1a3ecac2b5 100644
--- a/hw/timer/pxa2xx_timer.c
+++ b/hw/timer/pxa2xx_timer.c
@@ -12,7 +12,6 @@
 #include "hw/qdev-properties.h"
 #include "qemu/timer.h"
 #include "sysemu/runstate.h"
-#include "hw/arm/pxa.h"
 #include "hw/sysbus.h"
 #include "migration/vmstate.h"
 #include "qemu/log.h"
-- 
2.34.1
Re: [PATCH for-9.2 14/53] hw/timer/pxa2xx_timer: Remove use of pxa.h header
Posted by Philippe Mathieu-Daudé 2 months, 2 weeks ago
On 3/9/24 18:07, Peter Maydell wrote:
> pxa2xx_timer includes pxa.h, but it doesn't actually make
> use of any of the #defines, function prototypes or structs
> defined there. Remove the unnecessary include (we will
> shortly be removing the whole header file).
> 
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
>   hw/timer/pxa2xx_timer.c | 1 -
>   1 file changed, 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>