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:
Tejun Heo 2016-09-16 15:49:32 -04:00
Родитель 3347fa0928
Коммит a2c2727d20
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);
}