lkml.org 
[lkml]   [2023]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH v1] x86/cpu/amd: Remove redundant break statements
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
\
 
 \ /
  Last update: 2023-08-09 10:26    [W:0.034 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site