[PATCH] sched: fix semicolon.cocci warnings

kernel test robot
2021-06-17T20:15:28Z

From: kernel test robot <lkp@intel.com>

kernel/sched/core_sched.c:201:2-3: Unneeded semicolon

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 7ac592aa35a6 ("sched: prctl() core-scheduling interface")
CC: Chris Hyser <chris.hyser@oracle.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core
head: 9f26990074931bbf797373e53104216059b300b1
commit: 7ac592aa35a684ff1858fb9ec282886b9e3575ac [28/29] sched: prctl() core-scheduling interface
:::::: branch date: 5 weeks ago
:::::: commit date: 5 weeks ago

core_sched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/kernel/sched/core_sched.c
+++ b/kernel/sched/core_sched.c
@@ -198,7 +198,7 @@ int sched_core_share_pid(unsigned int cm
default:
err = -EINVAL;
goto out;
- };
+ }

if (type == PIDTYPE_PID) {
__sched_core_set(task, cookie);