lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <169597996101.27769.5754143943416979953.tip-bot2@tip-bot2>
Date:   Fri, 29 Sep 2023 09:32:41 -0000
From:   "tip-bot2 for Baolin Liu" <tip-bot2@...utronix.de>
To:     linux-tip-commits@...r.kernel.org
Cc:     Baolin Liu <liubaolin@...inos.cn>, Ingo Molnar <mingo@...nel.org>,
        x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: x86/cpu] x86/cpu/amd: Remove redundant 'break' statement

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@...inos.cn>
AuthorDate:    Wed, 09 Aug 2023 16:09:11 +08:00
Committer:     Ingo Molnar <mingo@...nel.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@...inos.cn>
Signed-off-by: Ingo Molnar <mingo@...nel.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)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ