Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp35813406rwd; Mon, 10 Jul 2023 13:04:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlHTKna/9spipl5Nlq/H6rT7duBGRD2TO0Qkoan93Uo5be07C//8LwvDAzjpj5nPJuxACr3y X-Received: by 2002:ac2:4db5:0:b0:4fb:9469:d65f with SMTP id h21-20020ac24db5000000b004fb9469d65fmr10039743lfe.37.1689019460453; Mon, 10 Jul 2023 13:04:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689019460; cv=none; d=google.com; s=arc-20160816; b=tmgfkYDNHDDzday2dHlyssHw5SSuEb7gG9eFlXhmNmM0lJW6l0roU9y8vGmeDASWSE tqaQDKyFrlyPu3mx83DQXPFI5tZWoNCHQzpNJ4XbenhjQDcxU3R24o3D7VUJzrcLqucr Eir5GhU05suqeX2KkSe/8B8mNcVAhlYn8D4mknVuSmreQOonWpXep3t/Ez2fmli/INC/ NcvT4xpQQikuo+Jpm7TlOPgXIoRi36y/ALQ8ILAXC489Pjdt3LT6XFYf99zxsiL8r0U/ lQ4NfFj+zg9wbPK9Y5s0tUtmIPbtSlRdDDapOcRgw8R58vs9EiBrdBiffVYyot06DPas wtYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=ivhLVKhACKnZhgX7GHkfgbJfc6Z11Wv6X0HCdw2KFv4=; fh=9aMyxxxkrPgtyopTF0ws92R373ENe434X4JpSy6np4k=; b=NFxsgImQz8oyfla/k+xmnoz+WIlXV4JyO3gT0l+U7jdVfii8qe7XOH9XJ+wZu22bSm TD8pbArNw4c44gfIjkOil4W4rFY97rSDAQH6vhEjvA87cJaYiLETctt6/ur7fFNg9XLY S7b/+WSnssloZ/5i/0PZBPwBWpAkdhqiSoyHoqr62O/r4qgu+bNnPX9f6BYsHNJeOZaH uDnaw3BuvrAJO96nQYEIZscCMSTVlMYnMKmkL3MfhGvaGeJ9V2JS+WvrxonCjAHfHbml mTxZBK3qtcgrUt+2o6qEbq56PSEgvXGOt4NwzNrZfnMTt2zQ6kvZBUMSLnDxlwKq0qKS ciqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ig89NSSN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020aa7dad8000000b0051de537901asi302457eds.92.2023.07.10.13.03.55; Mon, 10 Jul 2023 13:04:20 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=ig89NSSN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231152AbjGJTkH (ORCPT + 99 others); Mon, 10 Jul 2023 15:40:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbjGJTkE (ORCPT ); Mon, 10 Jul 2023 15:40:04 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEDF69E; Mon, 10 Jul 2023 12:40:03 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1b8ad907ba4so24106095ad.0; Mon, 10 Jul 2023 12:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689018003; x=1691610003; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=ivhLVKhACKnZhgX7GHkfgbJfc6Z11Wv6X0HCdw2KFv4=; b=ig89NSSNCjVNIUtp+LTVjG7HGB9E2wmkZykr4cZYhYKHnJFmCdAGyPdHPq24XHeZ5t hnJlw4JRuHka8VDdhWnaF6l4pvXy5vYPzk1YOJk0BMhyTBtJl/WAso1qUD9w8T5i4sfD sP+V8Z0/l0dO+K6u8JrMmWsvjD3pq2ldsDSfS21zyooQOmjDkGzgZgoFFKiAVTodTlLf HRa0L0HYZNmrg8tPBz/z9BB5+lD7zUb1TCDiTowsYQreCy4xRFPUtFrQGDjHM8UiLiFf hK+bIaVW6ZCjCO7gDPGpGf0WMVGRe9PcCiGNrl7BvNDMKJNF3PA7fflK5i2ggufGx7if /4pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689018003; x=1691610003; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ivhLVKhACKnZhgX7GHkfgbJfc6Z11Wv6X0HCdw2KFv4=; b=i5K4unldR3lyuca9fB7M+fKUv2qsexgjs69w8CY+tsZEHqf7ZJpkrSeAY0tUaWv7aR UGtpnaikLxycWrfdy1M/Z+1UxU5EFkqlv4FGrCb2btKg5gig4motsbznpxuWkPHFZtX4 PYCBVMHP3AMJP4XTibLsu5B995i8gvmjrVh6T3ujLoE6W5yJHTsYx3l8HpPsVmdCg9PA 6fUfRGDJtVvL6Ib1Xucz3INdFSv9q0X+MTJyJOpVCns1pzHMvQjkyuXZtmv10XndYPP6 WqxTRicNdrkI3V5NV4tc5ZjMY9nzY29caFNOac0xxSTerMeWe4OzcYiPmZNS2vJxHyG2 s5bA== X-Gm-Message-State: ABy/qLYD+iuwS2YZKIlxLRR/pbcRVryaopU7v6sDCGo6Ytok6wNDaIIv VwDelNd1EoTljVG/mrK9wGk= X-Received: by 2002:a17:903:1110:b0:1b8:4199:edfb with SMTP id n16-20020a170903111000b001b84199edfbmr12883806plh.25.1689018003070; Mon, 10 Jul 2023 12:40:03 -0700 (PDT) Received: from localhost ([2620:10d:c090:400::5:e2fe]) by smtp.gmail.com with ESMTPSA id z4-20020a1709027e8400b001b3acbde983sm290359pla.3.2023.07.10.12.40.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 12:40:02 -0700 (PDT) Sender: Tejun Heo Date: Mon, 10 Jul 2023 09:40:01 -1000 From: Tejun Heo To: Miaohe Lin Cc: hannes@cmpxchg.org, lizefan.x@bytedance.com, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] cgroup: remove unneeded return value of cgroup_rm_cftypes_locked() Message-ID: References: <20230701073856.2095425-1-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230701073856.2095425-1-linmiaohe@huawei.com> X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 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. Thanks. -- tejun