Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp984971lqd; Thu, 25 Apr 2024 02:38:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXBUqxhAHXFikoMChnXDDG0eFAuR9dg5SUnZ8QlI14kusXL47D4r2Yn0SMBCmbzZkzU0RXoCDV1htPvWs5bHfya9Ql+a9oaG2eOHEHxrQ== X-Google-Smtp-Source: AGHT+IHkOMbpiEfce8I+d22zvrbxOf8K8Asi2P/4urlaNe3ygdd23EcT8E1NsYaIScWyxy/RxWgP X-Received: by 2002:a54:4583:0:b0:3c7:3af4:6081 with SMTP id z3-20020a544583000000b003c73af46081mr5718738oib.16.1714037890007; Thu, 25 Apr 2024 02:38:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714037889; cv=pass; d=google.com; s=arc-20160816; b=oYMBevgP3tYUlDvyM1NkyAa2IzBGdRVqwhgvY7FaMQgDps9o/0yvKM4/cSKeqYFyka MDJWGvEuTcRL6WMs6KLCU2JrzcRHtFdTS33KA3kXTxnFUA9uiZjUPoO7J+wy1lx2VR0G a1QYxPHEMaGXMyLomWexRmXSJVx367jyJS22WlrFbkFo+XlkveNeafhTH4Aa9hitEQua 63JrQD7gpx4tVoUSB0+HKyqxMnczM/Mv7CAR2wMDIENWssx832wTXMnq8AED0LBWDMli JOcwMwIGQ2TCh3lWW9QmjKEmBI1vzNSfo7F1oDUSG3swvyOkTJoxj/QM4HqxbTshhKxa Fl/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=U+Mk7vVjmWzdB/vfGlgDSpGUmWp5ov1kdsffW6E52zo=; fh=GAsBSnfpf5FUVQQ6kd9dqsBkwIL387UZSVRwt6d+Yp8=; b=tpq7fD0bh8hfmwSSLi+JGDJJsWXaDnDJYBBbZ+iPhDIk+2PyYdZfZEGUS/M4EoswEV mkJFq60sQFjLqRv66jkoB/EhSHc/DZFRis8NHBpRzKssIK4feFlUGf43ErOoFIC4nWBf vOaNG28dODXiMMlfjfqBt7DL1SJnRmGJ8cAfR6+DzfTy5+WOIFG+RjRUyKAfPRv9EOaW X9RqtNgJP0hw95BeU/0xBIFr2jPx90uRjeZoK/2j4ghps2wpV8JHlHIZszF4KD/26dy+ pF0WhHLzLK0XRNN137xbbkXQHRMiileCfIp31mV5Kp15wkT5BAaGzY4rmwMtvLfN/vCW h/ow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-158311-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158311-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s17-20020a634511000000b00607da85b9a6si1989345pga.30.2024.04.25.02.38.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 02:38:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158311-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-158311-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158311-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3028E2825DD for ; Thu, 25 Apr 2024 09:37:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CE4584FA9; Thu, 25 Apr 2024 09:36:58 +0000 (UTC) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D43584D0D; Thu, 25 Apr 2024 09:36:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714037817; cv=none; b=KbF/795+4rbD1EK+8ou/pRrmTd5D/02menh8eE1niyswSAnJS4NFEFKV/QlpPGMEGBBtmYWGbHiS6icxab3Ety8+WP/jeOitmLfOiWiw050ch9T4llhaN7zcMb0f2OVLFH2UYvhaCWmG+fR75AfB1UPzPLSkt4iPE8Y2D6XYw+Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714037817; c=relaxed/simple; bh=3pcvK761P/K013DEjR4SL5qt0B7VaKS/V6j9YjhSotg=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Oh2EcoBlmKsDDBJDZxAgH9jhnweKrt1xHqfVnAOEirU/x76+DNCXvV+fh4pUZRnK+0es1taxoswTXdehRlKTQGsQjrLTba6vBcX2ENINWAREeeaDpm1S5NWGja1NDrrEjDspsXDPFVVaqxlD8jRGIi9L4Nl1kbCcebitKOwb6FQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4VQ9dX4nXQzXlPP; Thu, 25 Apr 2024 17:33:20 +0800 (CST) Received: from dggpeml500023.china.huawei.com (unknown [7.185.36.114]) by mail.maildlp.com (Postfix) with ESMTPS id 8D879180A9F; Thu, 25 Apr 2024 17:36:51 +0800 (CST) Received: from hulk-vt.huawei.com (10.67.174.26) by dggpeml500023.china.huawei.com (7.185.36.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 25 Apr 2024 17:36:51 +0800 From: Xiu Jianfeng To: , , , CC: , Subject: [PATCH -next] cgroup/cpuset: Remove outdated comment in sched_partition_write() Date: Thu, 25 Apr 2024 09:30:16 +0000 Message-ID: <20240425093016.1068567-1-xiujianfeng@huawei.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpeml500023.china.huawei.com (7.185.36.114) 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 --- kernel/cgroup/cpuset.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index f5443c039619..a10e4bd0c0c1 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")) -- 2.34.1