* [PATCH v1] x86/cpu/amd: Remove redundant break statements
@ 2023-08-09 8:09 Baolin Liu
2023-09-29 9:32 ` [tip: x86/cpu] x86/cpu/amd: Remove redundant 'break' statement tip-bot2 for Baolin Liu
0 siblings, 1 reply; 2+ messages in thread
From: Baolin Liu @ 2023-08-09 8:09 UTC (permalink / raw)
To: tglx, mingo, bp, dave.hansen; +Cc: hpa, Baolin Liu, linux-kernel
From: Baolin Liu <liubaolin@kylinos.cn>
This break is after the return statement, so it is redundant and
should be deleted.
Signed-off-by: Baolin Liu <liubaolin@kylinos.cn>
---
arch/x86/kernel/cpu/amd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index 26ad7ca423e7..a2cd69d9c39d 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -996,7 +996,6 @@ static bool cpu_has_zenbleed_microcode(void)
default:
return false;
- break;
}
if (boot_cpu_data.microcode < good_rev)
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip: x86/cpu] x86/cpu/amd: Remove redundant 'break' statement
2023-08-09 8:09 [PATCH v1] x86/cpu/amd: Remove redundant break statements Baolin Liu
@ 2023-09-29 9:32 ` tip-bot2 for Baolin Liu
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Baolin Liu @ 2023-09-29 9:32 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Baolin Liu, Ingo Molnar, x86, linux-kernel
The following commit has been merged into the x86/cpu branch of tip:
Commit-ID: b5034c63858d8cb44587bb1ce5a0790a1b4e4a05
Gitweb: https://git.kernel.org/tip/b5034c63858d8cb44587bb1ce5a0790a1b4e4a05
Author: Baolin Liu <liubaolin@kylinos.cn>
AuthorDate: Wed, 09 Aug 2023 16:09:11 +08:00
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Fri, 29 Sep 2023 11:24:09 +02:00
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
---
arch/x86/kernel/cpu/amd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index 1011ce2..c3cb69e 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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-29 9:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-09 8:09 [PATCH v1] x86/cpu/amd: Remove redundant break statements Baolin Liu
2023-09-29 9:32 ` [tip: x86/cpu] x86/cpu/amd: Remove redundant 'break' statement tip-bot2 for Baolin Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®