[PATCH 07/10] x86/mce: Remove the unnecessary {}

From: Qiuxu Zhuo
Date: Thu Oct 10 2024 - 11:57:25 EST


Remove the unnecessary {} from the case statement.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@xxxxxxxxx>
---
arch/x86/kernel/cpu/mce/core.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/x86/kernel/cpu/mce/core.c b/arch/x86/kernel/cpu/mce/core.c
index 40672fe0991a..e718b9bbe8e5 100644
--- a/arch/x86/kernel/cpu/mce/core.c
+++ b/arch/x86/kernel/cpu/mce/core.c
@@ -2073,10 +2073,9 @@ static void __mcheck_cpu_init_vendor(struct cpuinfo_x86 *c)
mce_intel_feature_init(c);
break;

- case X86_VENDOR_AMD: {
+ case X86_VENDOR_AMD:
mce_amd_feature_init(c);
break;
- }

case X86_VENDOR_HYGON:
mce_hygon_feature_init(c);
--
2.17.1