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
8989 return &clocksource_jiffies;
9090 }
9191
92−struct clocksource refined_jiffies;
92+static struct clocksource refined_jiffies;
9393
9494 int register_refined_jiffies(long cycles_per_second)
9595 {