lkml.org 
[lkml]   [2022]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] x86: remove unneeded semicolon
Date
Eliminate the following coccicheck warning:
./arch/x86/kernel/alternative.c:1444:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
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 e1282dedee1b..bbf0b6334466 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -1441,7 +1441,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
\
 
 \ /
  Last update: 2022-03-16 01:17    [W:0.033 / U:1.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site