ARM: versatile: Drop unused includes

Message ID 20230717225513.3212477-1-robh@kernel.org
State New
Headers
Series ARM: versatile: Drop unused includes |

Commit Message

Rob Herring July 17, 2023, 10:55 p.m. UTC
  Several includes are not needed, so drop them.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 arch/arm/mach-versatile/realview.c | 2 --
 1 file changed, 2 deletions(-)
  

Comments

Liviu Dudau July 17, 2023, 11:08 p.m. UTC | #1
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 <robh@kernel.org>

Acked-by: Liviu Dudau <liviu.dudau@arm.com>

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 <linus.walleij@linaro.org>
>   */
> -#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
>
  

Patch

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 <linus.walleij@linaro.org>
  */
-#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",