[PATCH] sched:Remove unneeded semicolon

From: cgel . zte
Date: Tue Nov 02 2021 - 03:07:35 EST


From: Zhang Mingyu <zhang.mingyu@xxxxxxxxxx>

Eliminate the following coccinelle check warning:
kernel/sched/core_sched.c:206:2-3

Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
Signed-off-by: Zhang Mingyu <zhang.mingyu@xxxxxxxxxx>
---
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