x86/mce: Remove redundant call to irq_work_queue()
Currently, __mc_scan_banks() in do_machine_check() does the following callchain: __mc_scan_banks()->mce_log()->irq_work_queue(&mce_irq_work). Hence, the call to irq_work_queue() below after __mc_scan_banks() seems redundant. Just remove it. Signed-off-by: Gabriele Paoloni <gabriele.paoloni@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Tony Luck <tony.luck@intel.com> Link: https://lkml.kernel.org/r/20201127161819.3106432-5-gabriele.paoloni@intel.com
This commit is contained in:
parent
3a866b16fd
commit
d5b38e3d0f
|
@ -1406,9 +1406,6 @@ noinstr void do_machine_check(struct pt_regs *regs)
|
|||
}
|
||||
}
|
||||
|
||||
if (worst > 0)
|
||||
irq_work_queue(&mce_irq_work);
|
||||
|
||||
if (worst != MCE_AR_SEVERITY && !kill_it)
|
||||
goto out;
|
||||
|
||||
|
|
Loading…
Reference in New Issue