From: Li Zefan delayed_work_timer_fn() is a timer function, make it static. Signed-off-by: Li Zefan Signed-off-by: Andrew Morton --- include/linux/timer.h | 2 -- kernel/workqueue.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff -puN include/linux/timer.h~workqueue-make-delayed_work_timer_fn-static include/linux/timer.h --- a/include/linux/timer.h~workqueue-make-delayed_work_timer_fn-static +++ a/include/linux/timer.h @@ -124,8 +124,6 @@ static inline void timer_stats_timer_cle } #endif -extern void delayed_work_timer_fn(unsigned long __data); - /** * add_timer - start a timer * @timer: the timer to be added diff -puN kernel/workqueue.c~workqueue-make-delayed_work_timer_fn-static kernel/workqueue.c --- a/kernel/workqueue.c~workqueue-make-delayed_work_timer_fn-static +++ a/kernel/workqueue.c @@ -175,7 +175,7 @@ int queue_work(struct workqueue_struct * } EXPORT_SYMBOL_GPL(queue_work); -void delayed_work_timer_fn(unsigned long __data) +static void delayed_work_timer_fn(unsigned long __data) { struct delayed_work *dwork = (struct delayed_work *)__data; struct cpu_workqueue_struct *cwq = get_wq_data(&dwork->work); _