EDAC, MCE: Remove unused function parameter
Remove remains from previous functionality.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
diff --git a/drivers/edac/edac_mce_amd.c b/drivers/edac/edac_mce_amd.c
index 564fe7c..765d7fb 100644
--- a/drivers/edac/edac_mce_amd.c
+++ b/drivers/edac/edac_mce_amd.c
@@ -291,13 +291,10 @@
pr_emerg(HW_ERR "Corrupted LS MCE info?\n");
}
-void amd_decode_nb_mce(int node_id, struct err_regs *regs, int handle_errors)
+void amd_decode_nb_mce(int node_id, struct err_regs *regs)
{
u32 ec = ERROR_CODE(regs->nbsl);
- if (!handle_errors)
- return;
-
/*
* GART TLB error reporting is disabled by default. Bail out early.
*/
@@ -402,7 +399,7 @@
regs.nbeah = (u32)(m->addr >> 32);
node = amd_get_nb_id(m->extcpu);
- amd_decode_nb_mce(node, ®s, 1);
+ amd_decode_nb_mce(node, ®s);
break;
case 5: