EDAC, mce_amd: Get rid of local var in amd_filter_mce()

... and use the macro for that.

No functionality change.

Signed-off-by: Borislav Petkov <bp@suse.de>
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c
index c0ae47a..a11a671 100644
--- a/drivers/edac/mce_amd.c
+++ b/drivers/edac/mce_amd.c
@@ -913,12 +913,10 @@
  */
 static bool amd_filter_mce(struct mce *m)
 {
-	u8 xec = (m->status >> 16) & 0x1f;
-
 	/*
 	 * NB GART TLB error reporting is disabled by default.
 	 */
-	if (m->bank == 4 && xec == 0x5 && !report_gart_errors)
+	if (m->bank == 4 && XEC(m->status, 0x1f) == 0x5 && !report_gart_errors)
 		return true;
 
 	return false;