Skip to content

Commit c5c0903

Browse files
committed
EDAC, MCE, AMD: Remove leftover unused mask
295d8cd ("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. Signed-off-by: Borislav Petkov <bp@suse.de>
1 parent 89ca3b8 commit c5c0903

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/edac/mce_amd.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
static struct amd_decoder_ops *fam_ops;
77

88
static u8 xec_mask = 0xf;
9-
static u8 nb_err_cpumask = 0xf;
109

1110
static bool report_gart_errors;
1211
static void (*nb_bus_decoder)(int node_id, struct mce *m);
@@ -852,7 +851,6 @@ static int __init mce_amd_init(void)
852851
break;
853852

854853
case 0x14:
855-
nb_err_cpumask = 0x3;
856854
fam_ops->mc0_mce = cat_mc0_mce;
857855
fam_ops->mc1_mce = cat_mc1_mce;
858856
fam_ops->mc2_mce = k8_mc2_mce;

0 commit comments

Comments
 (0)