Skip to content

Commit e875005

Browse files
valdiskKAGA-KOKO
authored andcommitted
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. Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/32342.1552379915@turing-police
1 parent 9e98c67 commit e875005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/time/jiffies.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ struct clocksource * __init __weak clocksource_default_clock(void)
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
{

0 commit comments

Comments
 (0)