mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
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: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
3b1f00aceb
commit
bc88f85c6c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user