workqueue: remove spurious WARN_ON_ONCE(in_irq()) from try_to_grab_pending()
authorTejun Heo <tj@kernel.org>
Thu, 20 Sep 2012 17:03:19 +0000 (10:03 -0700)
committerTejun Heo <tj@kernel.org>
Thu, 20 Sep 2012 17:03:19 +0000 (10:03 -0700)
commit7c6e72e46c9ea4a88f3f8ba96edce9db4bd48726
tree05f92ef6f69cfa5f0aac1401c4ca4d4fdc2a7ab7
parent70369b117a8fc5ac18a635ced23ee49f8e722e7b
workqueue: remove spurious WARN_ON_ONCE(in_irq()) from try_to_grab_pending()

e0aecdd874 ("workqueue: use irqsafe timer for delayed_work") made
try_to_grab_pending() safe to use from irq context but forgot to
remove WARN_ON_ONCE(in_irq()).  Remove it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
kernel/workqueue.c