Skip to contentSkip to conversation

ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF

PATCH New Simon Horman 2 participants 2 messages Sep 10, 2014 – Sep 11, 2014

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

PATCH 1/1 ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF

The r8a7794 support is always compiled using ARCH_MULTIPLATFORM which selects USE_OF. So #ifdef CONFIG_USE_OF is unnecessary.

---

This patch is based on renesas-devel-20140910v2-v3.17-rc4

 arch/arm/mach-shmobile/setup-r8a7794.c | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/mach-shmobile/setup-r8a7794.c +0 -3
index 05e970c..c10acd1 100644
@@ -19,8 +19,6 @@
 #include "rcar-gen2.h"
 #include <asm/mach/arch.h>
 
-#ifdef CONFIG_USE_OF
-
 static const char * const r8a7794_boards_compat_dt[] __initconst = {
 	"renesas,r8a7794",
 	NULL,
@@ -32,4 +30,3 @@ DT_MACHINE_START(R8A7794_DT, "Generic R8A7794 (Flattened Device Tree)")
 	.init_time	= rcar_gen2_timer_init,
 	.dt_compat	= r8a7794_boards_compat_dt,
 MACHINE_END
-#endif /* CONFIG_USE_OF */
Signature · 1 line
2.0.1
#1 lore raw

PATCH 1/1 ARM: shmobile: r8a7794: Remove unnecessary #ifdef CONFIG_USE_OF

Quoted 6 lines · Simon Horman

The r8a7794 support is always compiled using ARCH_MULTIPLATFORM which selects USE_OF. So #ifdef CONFIG_USE_OF is unnecessary.

I have queued this up.

Quoted 28 lines

---

This patch is based on renesas-devel-20140910v2-v3.17-rc4

 arch/arm/mach-shmobile/setup-r8a7794.c | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/mach-shmobile/setup-r8a7794.c +0 -3
index 05e970c..c10acd1 100644
@@ -19,8 +19,6 @@
 #include "rcar-gen2.h"
 #include <asm/mach/arch.h>
 
-#ifdef CONFIG_USE_OF
-
 static const char * const r8a7794_boards_compat_dt[] __initconst = {
 	"renesas,r8a7794",
 	NULL,
@@ -32,4 +30,3 @@ DT_MACHINE_START(R8A7794_DT, "Generic R8A7794 (Flattened Device Tree)")
 	.init_time	= rcar_gen2_timer_init,
 	.dt_compat	= r8a7794_boards_compat_dt,
 MACHINE_END
-#endif /* CONFIG_USE_OF */
Signature · 1 line
2.0.1