2023-07-17 23:37:50

by Rob Herring (Arm)

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

Several includes are not needed, so drop them.

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

diff --git a/arch/arm/mach-berlin/berlin.c b/arch/arm/mach-berlin/berlin.c
index 2424ad40190c..13d5c899f09e 100644
--- a/arch/arm/mach-berlin/berlin.c
+++ b/arch/arm/mach-berlin/berlin.c
@@ -8,11 +8,6 @@
* (c) Marvell International Ltd.
*/

-#include <linux/init.h>
-#include <linux/io.h>
-#include <linux/kernel.h>
-#include <linux/of_platform.h>
-#include <asm/hardware/cache-l2x0.h>
#include <asm/mach/arch.h>

static const char * const berlin_dt_compat[] = {
--
2.40.1



2023-07-19 15:12:30

by Jisheng Zhang

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

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

Thanks for the patch. I will send a PR during RC6
> ---
> arch/arm/mach-berlin/berlin.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/arch/arm/mach-berlin/berlin.c b/arch/arm/mach-berlin/berlin.c
> index 2424ad40190c..13d5c899f09e 100644
> --- a/arch/arm/mach-berlin/berlin.c
> +++ b/arch/arm/mach-berlin/berlin.c
> @@ -8,11 +8,6 @@
> * (c) Marvell International Ltd.
> */
>
> -#include <linux/init.h>
> -#include <linux/io.h>
> -#include <linux/kernel.h>
> -#include <linux/of_platform.h>
> -#include <asm/hardware/cache-l2x0.h>
> #include <asm/mach/arch.h>
>
> static const char * const berlin_dt_compat[] = {
> --
> 2.40.1
>