Skip to contentSkip to conversation

ARM: versatile: Drop unused includes

PATCH In review Rob Herring 2 participants 2 messages Jul 17, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: versatile: Drop unused includes

Several includes are not needed, so drop them.

---
 arch/arm/mach-versatile/realview.c | 2 --
 1 file changed, 2 deletions(-)
arch/arm/mach-versatile/realview.c +0 -2
index feab66080ba2..a3933e2373d5 100644
@@ -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",
Signature · 1 line
2.40.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Rob Herring

Several includes are not needed, so drop them.

Best regards,
Liviu

Quoted 21 lines
---
 arch/arm/mach-versatile/realview.c | 2 --
 1 file changed, 2 deletions(-)
arch/arm/mach-versatile/realview.c +0 -2
index feab66080ba2..a3933e2373d5 100644
@@ -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",
Signature · 1 line
2.40.1
Signature · 8 lines
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯