From: "Baolin Liu" <liubaolin12138@163.com>
To: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de,
dave.hansen@linux.intel.com
Cc: hpa@zytor.com, "Baolin Liu" <liubaolin@kylinos.cn>,
linux-kernel@vger.kernel.org
Subject: [PATCH v1] x86/cpu/amd: Remove redundant break statements
Date: Wed, 9 Aug 2023 16:09:11 +0800 (CST) [thread overview]
Message-ID: <396ba14d.2726.189d957b74b.Coremail.liubaolin12138@163.com> (raw)
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
next reply other threads:[~2023-08-09 8:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-09 8:09 Baolin Liu [this message]
2023-09-29 9:32 ` [tip: x86/cpu] x86/cpu/amd: Remove redundant 'break' statement tip-bot2 for Baolin Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=396ba14d.2726.189d957b74b.Coremail.liubaolin12138@163.com \
--to=liubaolin12138@163.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=liubaolin@kylinos.cn \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®