From 90e357efed06767d87c49280bc25272fdf378612 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Mon, 23 Mar 2015 00:07:33 +0900 Subject: [PATCH] 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 --- arch/arm/mach-uniphier/cache_uniphier.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-uniphier/cache_uniphier.c b/arch/arm/mach-uniphier/cache_uniphier.c index c1e9164489..d8b8228853 100644 --- a/arch/arm/mach-uniphier/cache_uniphier.c +++ b/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 } -- 2.25.1