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
This commit is contained in:
Родитель
3347fa0928
Коммит
a2c2727d20
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче