diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2010-08-30 12:34:19 +0200 |
---|---|---|
committer | Borislav Petkov <bp@amd64.org> | 2010-10-21 14:47:57 +0200 |
commit | 0ee8efa8f4672ce35ee370291c0f21d7b87b1e3f (patch) | |
tree | ca168e3103edf4575a44b97e7b47047041e17640 /drivers/edac/edac_mce_amd.c | |
parent | c9f281fd96b29367363ee232021c030d025c52a8 (diff) |
EDAC, MCE: Remove unused function parameter
Remove remains from previous functionality.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/edac_mce_amd.c')
-rw-r--r-- | drivers/edac/edac_mce_amd.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/edac/edac_mce_amd.c b/drivers/edac/edac_mce_amd.c index 564fe7c7534..765d7fbfa2d 100644 --- a/drivers/edac/edac_mce_amd.c +++ b/drivers/edac/edac_mce_amd.c @@ -291,13 +291,10 @@ wrong_ls_mce: 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 @@ static int amd_decode_mce(struct notifier_block *nb, unsigned long val, 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: |