2022-02-15 02:07:05

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] x86/alternative: remove unneeded semicolon

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

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
arch/x86/kernel/alternative.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index 018b61febf0e..9dde74a9e599 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -1442,7 +1442,7 @@ static void text_poke_loc_init(struct text_poke_loc *tp, void *addr,

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


switch (tp->opcode) {
--
2.20.1.7.g153144c