[PATCH v1] x86/cpu/amd: Remove redundant break statements

From: Baolin Liu
Date: Wed Aug 09 2023 - 04:25:47 EST


From: Baolin Liu <liubaolin@xxxxxxxxxx>

This break is after the return statement, so it is redundant and
should be deleted.

Signed-off-by: Baolin Liu <liubaolin@xxxxxxxxxx>
---
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