Skip to contentSkip to conversation

EDAC, MCE, AMD: Remove leftover unused mask

PATCH New Borislav Petkov 1 participant 1 message May 8, 2014

Subsystems (2)
lore
Share & tools
lore

Borislav Petkov

author maintainer
#0 lore raw

PATCH 1/1 EDAC, MCE, AMD: Remove leftover unused mask

From: Borislav Petkov <[email protected]>

295d8cda2689 ("EDAC, MCE, AMD: Drop local coreid reporting") removed the code snippet which used that mask but forgot to drop the mask itself. Do that now.

---
 drivers/edac/mce_amd.c | 2 --
 1 file changed, 2 deletions(-)
drivers/edac/mce_amd.c +0 -2
index 51b9caa0b024..5f43620d580a 100644
@@ -6,7 +6,6 @@
 static struct amd_decoder_ops *fam_ops;
 
 static u8 xec_mask	 = 0xf;
-static u8 nb_err_cpumask = 0xf;
 
 static bool report_gart_errors;
 static void (*nb_bus_decoder)(int node_id, struct mce *m);
@@ -852,7 +851,6 @@ static int __init mce_amd_init(void)
 		break;
 
 	case 0x14:
-		nb_err_cpumask  = 0x3;
 		fam_ops->mc0_mce = cat_mc0_mce;
 		fam_ops->mc1_mce = cat_mc1_mce;
 		fam_ops->mc2_mce = k8_mc2_mce;
Signature · 1 line
1.9.0