Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2c2727d authored by Tejun Heo's avatar Tejun Heo
Browse files

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: default avatarTejun Heo <tj@kernel.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: linux-edac@vger.kernel.org
parent 3347fa09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}