[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <396ba14d.2726.189d957b74b.Coremail.liubaolin12138@163.com>
Date:   Wed, 9 Aug 2023 16:09:11 +0800 (CST)
From:   "Baolin Liu" <liubaolin12138@....com>
To:     tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
        dave.hansen@...ux.intel.com
Cc:     hpa@...or.com, "Baolin Liu" <liubaolin@...inos.cn>,
        linux-kernel@...r.kernel.org
Subject: [PATCH v1] x86/cpu/amd: Remove redundant break statements
From: Baolin Liu <liubaolin@...inos.cn>
This break is after the return statement, so it is redundant and
should be deleted.
Signed-off-by: Baolin Liu <liubaolin@...inos.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
Powered by blists - more mailing lists
 
