diff mbox series

[v4,2/2] ARM: EXYNOS: Remove unused soc_is_exynos{4,5}

Message ID 20180510110255.30727-3-m.szyprowski@samsung.com
State New
Headers show
Series Remove static mapping of SCU from mach-exynos | expand

Commit Message

Marek Szyprowski May 10, 2018, 11:02 a.m. UTC
From: Pankaj Dubey <pankaj.dubey@samsung.com>


As no more user of soc_is_exynos{4,5} we can safely remove them.

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>

Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>

---
 arch/arm/mach-exynos/common.h | 4 ----
 1 file changed, 4 deletions(-)

-- 
2.17.0

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
index 70253f71e59e..dcd21bb95e3b 100644
--- a/arch/arm/mach-exynos/common.h
+++ b/arch/arm/mach-exynos/common.h
@@ -86,10 +86,6 @@  IS_SAMSUNG_CPU(exynos5800, EXYNOS5800_SOC_ID, EXYNOS5_SOC_MASK)
 # define soc_is_exynos5800()	0
 #endif
 
-#define soc_is_exynos4() (soc_is_exynos4210() || soc_is_exynos4412())
-#define soc_is_exynos5() (soc_is_exynos5250() || soc_is_exynos5410() || \
-			  soc_is_exynos5420() || soc_is_exynos5800())
-
 extern u32 cp15_save_diag;
 extern u32 cp15_save_power;