Skip to contentSkip to conversation

sched:Unneeded semicolon

PATCH Applied Xin Gao 2 participants 2 messages Jul 19, 2022 – Aug 4, 2022 Scheduler

lore
Share & tools
lore

Xin Gao

author
#0 lore raw

PATCH 1/1 sched:Unneeded semicolon

Unneeded semicolon

---
 kernel/sched/core_sched.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/core_sched.c +1 -1
index 38a2cec21014..8d2dc54043de 100644
@@ -204,7 +204,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);
Signature · 1 line
2.30.2
merge bot Applied
#1 lore raw

[tip: sched/core] sched/core: Remove superfluous semicolon

The following commit has been merged into the sched/core branch of tip:

The following commit has been merged into the sched/core branch of tip:

Commit-ID:     8648f92a66a323ed01903d2cbb248cdbe2f312d9
Gitweb:        https://git.kernel.org/tip/8648f92a66a323ed01903d2cbb248cdbe2f312d9
Author:        Xin Gao <[email protected]>
AuthorDate:    Tue, 19 Jul 2022 19:10:44 +08:00
Committer:     Ingo Molnar <[email protected]>
CommitterDate: Thu, 04 Aug 2022 11:02:08 +02:00

sched/core: Remove superfluous semicolon

---
 kernel/sched/core_sched.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/core_sched.c +1 -1
index 93878cb..1ec807f 100644
@@ -205,7 +205,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);