projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7deda2c
)
x86/cpu/amd: Remove redundant 'break' statement
author
Baolin Liu
<liubaolin@kylinos.cn>
Wed, 9 Aug 2023 08:09:11 +0000
(16:09 +0800)
committer
Ingo Molnar
<mingo@kernel.org>
Fri, 29 Sep 2023 09:24:09 +0000
(11:24 +0200)
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
arch/x86/kernel/cpu/amd.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/amd.c
b/arch/x86/kernel/cpu/amd.c
index 1011ce20f513293a853322615c49bb433369e112..c3cb69e4ef6f2989a1a234effc79b58d2cdc7d03 100644
(file)
--- 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)