History

time/jiffies: Make refined_jiffies static

sparse complains: CHECK kernel/time/jiffies.c kernel/time/jiffies.c:92:20: warning: symbol 'refined_jiffies' was not declared. Should it be static? Its only used in file scope. Make it static.

Valdis Kletnieks committed 7 years ago

Commit e8750051 parent 9e98c671 file · +1 −1Browse files

Unified · Split

kernel/time/jiffies.c+1−1
@@ -89,7 +89,7 @@ struct clocksource * __init __weak clocksource_default_clock(void) · 88 unmodified lines
89 return &clocksource_jiffies;89 return &clocksource_jiffies;
90}90}
91 91
92struct clocksource refined_jiffies;92static struct clocksource refined_jiffies;
93 93
94int register_refined_jiffies(long cycles_per_second)94int register_refined_jiffies(long cycles_per_second)
95{95{