cgroup/cpuset: Remove outdated comment in sched_partition_write()
authorXiu Jianfeng <xiujianfeng@huawei.com>
Thu, 25 Apr 2024 09:30:16 +0000 (09:30 +0000)
committerTejun Heo <tj@kernel.org>
Thu, 25 Apr 2024 17:16:19 +0000 (07:16 -1000)
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 <xiujianfeng@huawei.com>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup/cpuset.c

index f5443c039619835361efafbd8a4f9fa942ccbf93..a10e4bd0c0c16caf623a511d49a4b86668add570 100644 (file)
@@ -3774,9 +3774,6 @@ static ssize_t sched_partition_write(struct kernfs_open_file *of, char *buf,
 
        buf = strstrip(buf);
 
-       /*
-        * Convert "root" to ENABLED, and convert "member" to DISABLED.
-        */
        if (!strcmp(buf, "root"))
                val = PRS_ROOT;
        else if (!strcmp(buf, "member"))