1
0
Fork 0

mce, workqueue: remove keventd_up() usage

Now that workqueue can handle work item queueing from very early
during boot, there is no need to gate schedule_work() with
keventd_up().  Remove it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: linux-edac@vger.kernel.org
hifive-unleashed-5.1
Tejun Heo 2016-09-16 15:49:32 -04:00
parent 3347fa0928
commit a2c2727d20
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ int mce_available(struct cpuinfo_x86 *c)
static void mce_schedule_work(void)
{
if (!mce_gen_pool_empty() && keventd_up())
if (!mce_gen_pool_empty())
schedule_work(&mce_work);
}