Commit bc88f85c authored by Ben Dooks's avatar Ben Dooks Committed by Linus Torvalds

kthread: make __kthread_queue_delayed_work static

The __kthread_queue_delayed_work is not exported so
make it static, to avoid the following sparse warning:

  kernel/kthread.c:869:6: warning: symbol '__kthread_queue_delayed_work' was not declared. Should it be static?
Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3b1f00ac
...@@ -866,9 +866,9 @@ void kthread_delayed_work_timer_fn(struct timer_list *t) ...@@ -866,9 +866,9 @@ void kthread_delayed_work_timer_fn(struct timer_list *t)
} }
EXPORT_SYMBOL(kthread_delayed_work_timer_fn); EXPORT_SYMBOL(kthread_delayed_work_timer_fn);
void __kthread_queue_delayed_work(struct kthread_worker *worker, static void __kthread_queue_delayed_work(struct kthread_worker *worker,
struct kthread_delayed_work *dwork, struct kthread_delayed_work *dwork,
unsigned long delay) unsigned long delay)
{ {
struct timer_list *timer = &dwork->timer; struct timer_list *timer = &dwork->timer;
struct kthread_work *work = &dwork->work; struct kthread_work *work = &dwork->work;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment