2023-07-17 23:10:34

by Rob Herring

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

Several includes are not needed, so drop them.

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

diff --git a/arch/arm/mach-versatile/realview.c b/arch/arm/mach-versatile/realview.c
index feab66080ba2..a3933e2373d5 100644
--- a/arch/arm/mach-versatile/realview.c
+++ b/arch/arm/mach-versatile/realview.c
@@ -4,9 +4,7 @@
*
* Author: Linus Walleij <[email protected]>
*/
-#include <linux/of_platform.h>
#include <asm/mach/arch.h>
-#include <asm/hardware/cache-l2x0.h>

static const char *const realview_dt_platform_compat[] __initconst = {
"arm,realview-eb",
--
2.40.1



2023-07-17 23:40:31

by Liviu Dudau

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

On Mon, Jul 17, 2023 at 04:55:13PM -0600, Rob Herring wrote:
> Several includes are not needed, so drop them.
>
> Signed-off-by: Rob Herring <[email protected]>

Acked-by: Liviu Dudau <[email protected]>

Best regards,
Liviu

> ---
> arch/arm/mach-versatile/realview.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm/mach-versatile/realview.c b/arch/arm/mach-versatile/realview.c
> index feab66080ba2..a3933e2373d5 100644
> --- a/arch/arm/mach-versatile/realview.c
> +++ b/arch/arm/mach-versatile/realview.c
> @@ -4,9 +4,7 @@
> *
> * Author: Linus Walleij <[email protected]>
> */
> -#include <linux/of_platform.h>
> #include <asm/mach/arch.h>
> -#include <asm/hardware/cache-l2x0.h>
>
> static const char *const realview_dt_platform_compat[] __initconst = {
> "arm,realview-eb",
> --
> 2.40.1
>

--
====================
| I would like to |
| fix the world, |
| but they're not |
| giving me the |
\ source code! /
---------------
¯\_(ツ)_/¯