From: Xiu Jianfeng Date: Thu, 25 Apr 2024 09:30:16 +0000 (+0000) Subject: cgroup/cpuset: Remove outdated comment in sched_partition_write() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b7d56d953a67c839a514e382596d5af29b8d6d87;p=linux.git 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 Acked-by: Waiman Long Signed-off-by: Tejun Heo --- diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index f5443c0396198..a10e4bd0c0c16 100644 --- a/kernel/cgroup/cpuset.c +++ b/kernel/cgroup/cpuset.c @@ -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"))