Skip to content

Commit b7d56d9

Browse files
Xiu Jianfenghtejun
authored andcommitted
cgroup/cpuset: Remove outdated comment in sched_partition_write()
The comment here is outdated and can cause confusion, from the code perspective, there’s also no need for new comment, so just remove it. Signed-off-by: Xiu Jianfeng <[email protected]> Acked-by: Waiman Long <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 04d63da commit b7d56d9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

kernel/cgroup/cpuset.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3774,9 +3774,6 @@ static ssize_t sched_partition_write(struct kernfs_open_file *of, char *buf,
37743774

37753775
buf = strstrip(buf);
37763776

3777-
/*
3778-
* Convert "root" to ENABLED, and convert "member" to DISABLED.
3779-
*/
37803777
if (!strcmp(buf, "root"))
37813778
val = PRS_ROOT;
37823779
else if (!strcmp(buf, "member"))

0 commit comments

Comments
 (0)