[PATCH] x86/alternative: fix semicolon.cocci warnings

From: kernel test robot
Date: Sat Jan 15 2022 - 06:07:01 EST


From: kernel test robot <lkp@xxxxxxxxx>

arch/x86/kernel/alternative.c:1411:2-3: Unneeded semicolon


Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 26c44b776dba ("x86/alternative: Relax text_poke_bp() constraint")
CC: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a33f5c380c4bd3fa5278d690421b72052456d9fe
commit: 26c44b776dba4ac692a0bf5a3836feb8a63fea6b x86/alternative: Relax text_poke_bp() constraint
:::::: branch date: 5 hours ago
:::::: commit date: 5 weeks ago

alternative.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -1408,7 +1408,7 @@ static void text_poke_loc_init(struct te

default:
BUG_ON(len != insn.length);
- };
+ }


switch (tp->opcode) {