diff options
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r-- | kernel/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index dde6298f6b22..8fdb710bfdd7 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -1509,7 +1509,7 @@ static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, | |||
1509 | struct work_struct *work = &dwork->work; | 1509 | struct work_struct *work = &dwork->work; |
1510 | 1510 | ||
1511 | WARN_ON_ONCE(!wq); | 1511 | WARN_ON_ONCE(!wq); |
1512 | WARN_ON_ONCE(timer->function != (TIMER_FUNC_TYPE)delayed_work_timer_fn); | 1512 | WARN_ON_ONCE(timer->function != delayed_work_timer_fn); |
1513 | WARN_ON_ONCE(timer_pending(timer)); | 1513 | WARN_ON_ONCE(timer_pending(timer)); |
1514 | WARN_ON_ONCE(!list_empty(&work->entry)); | 1514 | WARN_ON_ONCE(!list_empty(&work->entry)); |
1515 | 1515 | ||