[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20211110055804.137012-1-chi.minghao@zte.com.cn>
Date: Wed, 10 Nov 2021 05:58:04 +0000
From: cgel.zte@...il.com
To: mingo@...hat.com
Cc: peterz@...radead.org, juri.lelli@...hat.com,
vincent.guittot@...aro.org, dietmar.eggemann@....com,
rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de,
bristot@...hat.com, linux-kernel@...r.kernel.org,
chiminghao <chi.minghao@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: [PATCH] kernel:sched: Remove Unneeded semicolon
From: chiminghao <chi.minghao@....com.cn>
Fix following coccicheck warning:
./kernel/sched/core_sched.c:206:2-3: Unneeded semicolon
Reported-by: Zeal Robot <zealci@....com.cn>
Signed-off-by: chiminghao <chi.minghao@....com.cn>
---
kernel/sched/core_sched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/core_sched.c b/kernel/sched/core_sched.c
index 517f72b008f5..f945b0c373db 100644
--- a/kernel/sched/core_sched.c
+++ b/kernel/sched/core_sched.c
@@ -203,7 +203,7 @@ int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type,
default:
err = -EINVAL;
goto out;
- };
+ }
if (type == PIDTYPE_PID) {
__sched_core_set(task, cookie);
--
2.25.1
Powered by blists - more mailing lists