diff options
author | 2017-05-02 09:48:26 -0700 | |
---|---|---|
committer | 2017-05-02 09:48:26 -0700 | |
commit | 0337966d121ebebf73a1c346123e8112796e684e (patch) | |
tree | c0d4388591e72dc5a26ee976a9cbca70f6bafbbd /kernel/workqueue.c | |
parent | Input: i8042 - add Clevo P650RS to the i8042 reset list (diff) | |
parent | Input: ar1021_i2c - use BIT to check for a bit (diff) | |
download | wireguard-linux-0337966d121ebebf73a1c346123e8112796e684e.tar.xz wireguard-linux-0337966d121ebebf73a1c346123e8112796e684e.zip |
Merge branch 'next' into for-linus
Prepare input updates for 4.12 merge window.
Diffstat (limited to '')
-rw-r--r-- | kernel/workqueue.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 1d9fb6543a66..c0168b7da1ea 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -1507,6 +1507,7 @@ static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, struct timer_list *timer = &dwork->timer; struct work_struct *work = &dwork->work; + WARN_ON_ONCE(!wq); WARN_ON_ONCE(timer->function != delayed_work_timer_fn || timer->data != (unsigned long)dwork); WARN_ON_ONCE(timer_pending(timer)); @@ -1523,8 +1524,6 @@ static void __queue_delayed_work(int cpu, struct workqueue_struct *wq, return; } - timer_stats_timer_set_start_info(&dwork->timer); - dwork->wq = wq; dwork->cpu = cpu; timer->expires = jiffies + delay; |