Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36225750rwd; Mon, 10 Jul 2023 20:37:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlFOwc2YExIi/ehphl7xvX5VUKBv1Xzr53Eobfj0v2zHkztiR0LGpuTs7Ovd7Yz3916adNVs X-Received: by 2002:a05:6402:254f:b0:51e:5390:8cb8 with SMTP id l15-20020a056402254f00b0051e53908cb8mr10127948edb.2.1689046654199; Mon, 10 Jul 2023 20:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689046654; cv=none; d=google.com; s=arc-20160816; b=gAF7Hp2QPVSKjWtlpg58x00DUeZQM0DE5jthsKCpTOz1LfDpUToQA5BwK9blVXQQxD BW90UH6oDMJj5S1uq+0np1yVz5M64N9mgWDZyxath8aYpO9wcaLu2gH4rJSCyZQ5FjY8 K4MwcMjcFrUXr/usIc7C4zReaxKyNaXWeGriYBHSf8nx+Ty6gfl4ATwr1bOPJJjQ31Zc a8XQ2TxH2tG48dmvlVbxkjjc5jxgz6E9Y6wxB0Gnu2nmmk5AY2aa1p8KjYR3r5wEni5z pYgCZf4/DkgJZtCbpwEvKBEiC5xZbmrcVh+u3Lc343FjlkjrrPGMaNYAX025q8L3X9bL KO+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=YQK2sieHmL0iJ4UcF7cqG4gbBdqS63lny6ViGtlouUY=; fh=Xm3Nqi4hpOUCkc0rsP9Z01lPKLJmWiVI6suFSDW6mzA=; b=WHFZqWmmPSiwg6YeRWXnRen/S57tTSbXUT0rT7FS01l8Xj15TRYPoNPo985MPXLasq c5+2H4jEH8LzGktLrRsR8QqlA8WvOuL/BgVMfw2Fr5ndYOw9vuXbkJ6xqURQWhDKl7GZ 1G0gNhEmdPWIXJ4Rbdzap3XYgtXGeVpDT4VSIAjEVaK0p0zQe4KuMpMWxSyTLSvvZSt8 rWYbt7nTG/00hzOWZvU/7Wtkd6qlFRgZ50pIJaZPoMVnRJbk3ksuSs0hLrfdcpjEd2Px 1B3clGbSprfVLOYiw1aKWyPy3yHQMJgbnmk/SViFh/mlBO0nYHftyPzjc8eP1Vss/lz1 5O7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bc8-20020a056402204800b0051e03cd3ad6si1082614edb.302.2023.07.10.20.37.11; Mon, 10 Jul 2023 20:37:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230431AbjGKDCQ (ORCPT + 99 others); Mon, 10 Jul 2023 23:02:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231224AbjGKDBu (ORCPT ); Mon, 10 Jul 2023 23:01:50 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4BD119A4; Mon, 10 Jul 2023 20:01:22 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4R0QZq4p9rzVj6t; Tue, 11 Jul 2023 10:59:47 +0800 (CST) Received: from [10.174.151.185] (10.174.151.185) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 11 Jul 2023 11:00:58 +0800 Subject: Re: [PATCH] cgroup: remove unneeded return value of cgroup_rm_cftypes_locked() To: Tejun Heo CC: , , , References: <20230701073856.2095425-1-linmiaohe@huawei.com> From: Miaohe Lin Message-ID: <27428e7d-e280-2f78-7856-056d4e174057@huawei.com> Date: Tue, 11 Jul 2023 11:00:58 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.151.185] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/7/11 3:40, Tejun Heo wrote: > On Sat, Jul 01, 2023 at 03:38:56PM +0800, Miaohe Lin wrote: >> The return value of cgroup_rm_cftypes_locked() is always 0. So remove >> it to simplify the code. No functional change intended. >> >> Signed-off-by: Miaohe Lin > > Applied to cgroup/for-6.6. Please feel free to follow up with the comment > addition Michal suggested. Should I send a v2 patch or a separate patch? Both is fine to me. Thanks for your work.