]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/mce/amd: Remove redundant reset_block()
authorYazen Ghannam <yazen.ghannam@amd.com>
Tue, 4 Nov 2025 14:55:42 +0000 (14:55 +0000)
committerBorislav Petkov (AMD) <bp@alien8.de>
Wed, 5 Nov 2025 21:34:53 +0000 (22:34 +0100)
commit3206b41604f80bb84c19ae3ed7c01d9d671ece2a
tree0fceeaee87407a4da41164b9e9e91b8b5a06788e
parent4efaec6e16c249b64d389c85c3ef01345580483a
x86/mce/amd: Remove redundant reset_block()

Many of the checks in reset_block() are done again in the block reset
function. So drop the redundant checks.

Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20251104-wip-mca-updates-v8-0-66c8eacf67b9@amd.com
arch/x86/kernel/cpu/mce/amd.c