]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/mce: Remove unused variable and return value in machine_check_poll()
authorYazen Ghannam <yazen.ghannam@amd.com>
Thu, 23 May 2024 15:56:34 +0000 (10:56 -0500)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 27 May 2024 08:49:25 +0000 (10:49 +0200)
commit5b9d292ea87c836ec47483f98344cb0e7add82fe
treebb436c0afac661eb4d3a1b3a96569d19c90fec1d
parentede18982f19942c7333530cf4fbf271e318df1b2
x86/mce: Remove unused variable and return value in machine_check_poll()

The recent CMCI storm handling rework removed the last case that checks
the return value of machine_check_poll().

Therefore the "error_seen" variable is no longer used, so remove it.

Fixes: 3ed57b41a412 ("x86/mce: Remove old CMCI storm mitigation code")
Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20240523155641.2805411-3-yazen.ghannam@amd.com
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
arch/x86/include/asm/mce.h
arch/x86/kernel/cpu/mce/core.c