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>
master
Masahiro Yamada 9 years ago
parent a509161a21
commit 90e357efed
  1. 2
      arch/arm/mach-uniphier/cache_uniphier.c

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

Loading…
Cancel
Save