You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
+2
-4
@@ -194,7 +194,7 @@ static int __init clk_debug_init(void)
|
|||||||
late_initcall(clk_debug_init);
|
late_initcall(clk_debug_init);
|
||||||
#else
|
#else
|
||||||
static inline int clk_debug_register(struct clk *clk) { return 0; }
|
static inline int clk_debug_register(struct clk *clk) { return 0; }
|
||||||
#endif /* CONFIG_COMMON_CLK_DEBUG */
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_COMMON_CLK_DISABLE_UNUSED
|
#ifdef CONFIG_COMMON_CLK_DISABLE_UNUSED
|
||||||
/* caller must hold prepare_lock */
|
/* caller must hold prepare_lock */
|
||||||
@@ -246,9 +246,7 @@ static int clk_disable_unused(void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
late_initcall(clk_disable_unused);
|
late_initcall(clk_disable_unused);
|
||||||
#else
|
#endif
|
||||||
static inline int clk_disable_unused(struct clk *clk) { return 0; }
|
|
||||||
#endif /* CONFIG_COMMON_CLK_DISABLE_UNUSED */
|
|
||||||
|
|
||||||
/*** helper functions ***/
|
/*** helper functions ***/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user