From: Li Zefan Date: Fri, 8 Feb 2008 12:21:09 +0000 (-0800) Subject: workqueue: make delayed_work_timer_fn() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6d141c3ff6d74cc30cdbf26155842756ac16cf7f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git workqueue: make delayed_work_timer_fn() static delayed_work_timer_fn() is a timer function, make it static. Signed-off-by: Li Zefan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/timer.h b/include/linux/timer.h index ffe438a901b5..979fefdeb862 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h @@ -124,8 +124,6 @@ static inline void timer_stats_timer_clear_start_info(struct timer_list *timer) } #endif -extern void delayed_work_timer_fn(unsigned long __data); - /** * add_timer - start a timer * @timer: the timer to be added diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 3f168e00ce5b..ff06611655af 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -175,7 +175,7 @@ int queue_work(struct workqueue_struct *wq, struct work_struct *work) } 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);