]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: UniPhier: remove unnecessary ifdef conditional
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 22 Mar 2015 15:07:33 +0000 (00:07 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:34:16 +0000 (14:34 +0200)
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>
arch/arm/mach-uniphier/cache_uniphier.c

index c1e9164489dc3c625a2ee79c086264a87be24914..d8b82288537e6ef18a56b428091ce15006ead667 100644 (file)
@@ -122,7 +122,5 @@ void v7_outer_cache_disable(void)
 
 void enable_caches(void)
 {
-#ifndef CONFIG_SYS_DCACHE_OFF
        dcache_enable();
-#endif
 }