From: Baolin Liu Date: Wed, 9 Aug 2023 08:09:11 +0000 (+0800) Subject: x86/cpu/amd: Remove redundant 'break' statement X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b5034c63858d8cb44587bb1ce5a0790a1b4e4a05;p=linux.git 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 Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/396ba14d.2726.189d957b74b.Coremail.liubaolin12138@163.com --- diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index 1011ce20f5132..c3cb69e4ef6f2 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)