[tip:,x86/bugs] x86/srso: Remove unnecessary semicolon

Message ID 169780183542.3135.6411016213557318844.tip-bot2@tip-bot2
State New
Headers
Series [tip:,x86/bugs] x86/srso: Remove unnecessary semicolon |

Commit Message

tip-bot2 for Thomas Gleixner Oct. 20, 2023, 11:37 a.m. UTC
  The following commit has been merged into the x86/bugs branch of tip:

Commit-ID:     904e1ddd0b31dc341f6af09e1558589f50b3d04d
Gitweb:        https://git.kernel.org/tip/904e1ddd0b31dc341f6af09e1558589f50b3d04d
Author:        Yang Li <yang.lee@linux.alibaba.com>
AuthorDate:    Thu, 10 Aug 2023 09:05:50 +08:00
Committer:     Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Fri, 20 Oct 2023 12:50:35 +02:00

x86/srso: Remove unnecessary semicolon

scripts/coccinelle/misc/semicolon.cocci reports:

  arch/x86/kernel/cpu/bugs.c:713:2-3: Unneeded semicolon

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230810010550.25733-1-yang.lee@linux.alibaba.com
---
 arch/x86/kernel/cpu/bugs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c
index 016a326..bb0ab84 100644
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86/kernel/cpu/bugs.c
@@ -717,7 +717,7 @@  void update_gds_msr(void)
 	case GDS_MITIGATION_UCODE_NEEDED:
 	case GDS_MITIGATION_HYPERVISOR:
 		return;
-	};
+	}
 
 	wrmsrl(MSR_IA32_MCU_OPT_CTRL, mcu_ctrl);