2023-07-17 23:15:14

by Rob Herring (Arm)

[permalink] [raw]
Subject: [PATCH] ARM: pxa: Drop unused includes

Several includes are not needed, so drop them.

Signed-off-by: Rob Herring <[email protected]>
---
arch/arm/mach-pxa/pxa-dt.c | 6 ------
1 file changed, 6 deletions(-)

diff --git a/arch/arm/mach-pxa/pxa-dt.c b/arch/arm/mach-pxa/pxa-dt.c
index 5e5d543fdf46..a292de91dce5 100644
--- a/arch/arm/mach-pxa/pxa-dt.c
+++ b/arch/arm/mach-pxa/pxa-dt.c
@@ -5,13 +5,7 @@
* Copyright (C) 2012 Daniel Mack
*/

-#include <linux/irq.h>
-#include <linux/irqdomain.h>
-#include <linux/of_irq.h>
-#include <linux/of_platform.h>
#include <asm/mach/arch.h>
-#include <asm/mach/time.h>
-#include "irqs.h"

#include "generic.h"

--
2.40.1



2023-07-17 23:45:13

by Daniel Mack

[permalink] [raw]
Subject: Re: [PATCH] ARM: pxa: Drop unused includes

On 18.07.23 00:55, Rob Herring wrote:
> Several includes are not needed, so drop them.
>
> Signed-off-by: Rob Herring <[email protected]>

Acked-by: Daniel Mack <[email protected]>

> ---
> arch/arm/mach-pxa/pxa-dt.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/arch/arm/mach-pxa/pxa-dt.c b/arch/arm/mach-pxa/pxa-dt.c
> index 5e5d543fdf46..a292de91dce5 100644
> --- a/arch/arm/mach-pxa/pxa-dt.c
> +++ b/arch/arm/mach-pxa/pxa-dt.c
> @@ -5,13 +5,7 @@
> * Copyright (C) 2012 Daniel Mack
> */
>
> -#include <linux/irq.h>
> -#include <linux/irqdomain.h>
> -#include <linux/of_irq.h>
> -#include <linux/of_platform.h>
> #include <asm/mach/arch.h>
> -#include <asm/mach/time.h>
> -#include "irqs.h"
>
> #include "generic.h"
>