aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorMike Turquette <mturquette@linaro.org>2012-03-26 14:53:47 -0400
committerMike Turquette <mturquette@linaro.org>2012-04-24 19:37:37 -0400
commit70d347e6cd0d2a7ecc023b44ef721bc2c2a38f22 (patch)
tree96b23f9c9c07832aa430f94236c6d689e77feacc /drivers/clk
parent5654dc94f872f823aa13941a8fdba69a3feca39c (diff)
clk: core: remove dead code paths
Some static inline dummy functions were left over from before the clock core was consolidated from several C files down to one. Remove them. Reported-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/clk.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 3ed36d3056d..4daacf5783a 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -194,7 +194,7 @@ static int __init clk_debug_init(void)
194late_initcall(clk_debug_init); 194late_initcall(clk_debug_init);
195#else 195#else
196static inline int clk_debug_register(struct clk *clk) { return 0; } 196static inline int clk_debug_register(struct clk *clk) { return 0; }
197#endif /* CONFIG_COMMON_CLK_DEBUG */ 197#endif
198 198
199#ifdef CONFIG_COMMON_CLK_DISABLE_UNUSED 199#ifdef CONFIG_COMMON_CLK_DISABLE_UNUSED
200/* caller must hold prepare_lock */ 200/* caller must hold prepare_lock */
@@ -246,9 +246,7 @@ static int clk_disable_unused(void)
246 return 0; 246 return 0;
247} 247}
248late_initcall(clk_disable_unused); 248late_initcall(clk_disable_unused);
249#else 249#endif
250static inline int clk_disable_unused(struct clk *clk) { return 0; }
251#endif /* CONFIG_COMMON_CLK_DISABLE_UNUSED */
252 250
253/*** helper functions ***/ 251/*** helper functions ***/
254 252