Browse Source

ARM: UniPhier: remove unnecessary ifdef conditional

The callee (arch/arm/lib/cache-cp15.c) has a #ifdef
CONFIG_SYS_DCACHE_OFF conditional.  The same conditional in the
caller (arch/arm/mach-uniphier/cache_uniphier.c) is redundant.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada 10 years ago
parent
commit
90e357efed
1 changed files with 0 additions and 2 deletions
  1. 0 2
      arch/arm/mach-uniphier/cache_uniphier.c

+ 0 - 2
arch/arm/mach-uniphier/cache_uniphier.c

@@ -122,7 +122,5 @@ void v7_outer_cache_disable(void)
 
 
 void enable_caches(void)
 void enable_caches(void)
 {
 {
-#ifndef CONFIG_SYS_DCACHE_OFF
 	dcache_enable();
 	dcache_enable();
-#endif
 }
 }