summaryrefslogtreecommitdiff
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorBaolin Liu <liubaolin@kylinos.cn>2023-08-09 16:09:11 +0800
committerIngo Molnar <mingo@kernel.org>2023-09-29 11:24:09 +0200
commitb5034c63858d8cb44587bb1ce5a0790a1b4e4a05 (patch)
tree885c9bec0be029e6338cf70cba351b2fd405b89a /arch/x86/kernel
parent7deda2ce5b33edc6d689e429e3fe75382468b030 (diff)
downloadlwn-b5034c63858d8cb44587bb1ce5a0790a1b4e4a05.tar.gz
lwn-b5034c63858d8cb44587bb1ce5a0790a1b4e4a05.zip
x86/cpu/amd: Remove redundant 'break' statement
This break is after the return statement, so it is redundant & confusing, and should be deleted. Signed-off-by: Baolin Liu <liubaolin@kylinos.cn> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/396ba14d.2726.189d957b74b.Coremail.liubaolin12138@163.com
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/cpu/amd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index 1011ce20f513..c3cb69e4ef6f 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -1001,7 +1001,6 @@ static bool cpu_has_zenbleed_microcode(void)
default:
return false;
- break;
}
if (boot_cpu_data.microcode < good_rev)