All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] ARM: EXYNOS: Remove unused code in common.h
@ 2014-06-23 12:00 Sachin Kamat
  2014-07-04  8:29 ` Sachin Kamat
  0 siblings, 1 reply; 6+ messages in thread
From: Sachin Kamat @ 2014-06-23 12:00 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: kgene.kim, tomasz.figa

PINCTRL_EXYNOS is always selected by Exynos platform in its
machine Kconfig. Thus the code in the else part is never used.
Remove it.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
---
 arch/arm/mach-exynos/common.h |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
index 1ee91763fa7c..3371669dabc6 100644
--- a/arch/arm/mach-exynos/common.h
+++ b/arch/arm/mach-exynos/common.h
@@ -125,11 +125,7 @@ void exynos_init_late(void);
 
 void exynos_firmware_init(void);
 
-#ifdef CONFIG_PINCTRL_EXYNOS
 extern u32 exynos_get_eint_wake_mask(void);
-#else
-static inline u32 exynos_get_eint_wake_mask(void) { return 0xffffffff; }
-#endif
 
 #ifdef CONFIG_PM_SLEEP
 extern void __init exynos_pm_init(void);
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-04 21:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-23 12:00 [PATCH 1/1] ARM: EXYNOS: Remove unused code in common.h Sachin Kamat
2014-07-04  8:29 ` Sachin Kamat
2014-07-04  8:33   ` Tomasz Figa
2014-07-04  8:43     ` Sachin Kamat
2014-07-04  8:55       ` Sachin Kamat
2014-07-04 21:53     ` Kukjin Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.