Skip to contentSkip to conversation

x86: remove unneeded semicolon

PATCH New Yang Li 1 participant 1 message Dec 15, 2021 x86

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 x86: remove unneeded semicolon

Eliminate the following coccicheck warning:
./arch/x86/kernel/alternative.c:1411:2-3: Unneeded semicolon

---
 arch/x86/kernel/alternative.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/alternative.c +1 -1
index 5007c3ffe96f..033ceebbe7aa 100644
@@ -1408,7 +1408,7 @@ static void text_poke_loc_init(struct text_poke_loc *tp, void *addr,
 
 	default:
 		BUG_ON(len != insn.length);
-	};
+	}
 
 
 	switch (tp->opcode) {
Signature · 1 line
2.20.1.7.g153144c