Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1395099rwe; Thu, 1 Sep 2022 18:31:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR5YOo7legNg8s9n+tWNHM1rlwU0rrKf6ik+lYPxRwEgsbUUQes1X1Lqiq6co0/++gaNeeFn X-Received: by 2002:a17:902:7791:b0:173:3dc2:3bb9 with SMTP id o17-20020a170902779100b001733dc23bb9mr32591085pll.153.1662082281867; Thu, 01 Sep 2022 18:31:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662082281; cv=none; d=google.com; s=arc-20160816; b=gTxXles4gnObDQSvyOxRYQqGCUxIPYyAckZJ0H1CxFlZBfZFkEvycYtsQLsrGzXzLE 0/K25Xn2I8nja26Gd6Dia64vPIa8KpPNVew291vDRjC5VtUWJdjwMdpfzUpLdeU5+/tI DAVV4OEPfgIwQ3tyunh/DDJJE9Gb9FDHIBoPOcsXCyl66fLtt5bAnI5IDT6FAHajUe8u bI/VwssCJ0hOLyJemJz5tBajbjr0Hnsb2JP0vC+0CrhCCEqXlVRuo7vigPq3UWzEtIyM xHEFiYNBV82h2GHsNWTOl3TH8X/21Ylkxf2T7tiB56nQ2kdy47kouYxCrF/GEebSfJYa +BYA== 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=TO5UA1+4AMs1d3UudgAKhS7LfDSQRi46EJYPjrKFOJE=; b=qjgeRDX20ZRrUtUH5/Fn6CtilxJ8mSuK6CInj1mOUHd+KSreuUihRpI7NjZUTcOJdM pXEpth2E1erxC4kBY1qBvzhYDjdDNV8HyyuNfWpOz7DBao4EqurXaP2H1KrkJkK43493 WcZbZg3qjFMu0JBCAwZr6FpB5z2HEZM8dB7aveB3Pq+gw1kkMvK+HJZ4ESF6CctACBJn nnfe9IiTXd32umZyrg1dQrxwzG/WNBm6XEUsWXDHBGV7SPgpBa0BvpJRbQXBMSNGkvzr jCJMSU9xmL34ZnCpemvDzGdUTy5ONgAE7DR0jEwWr7Qs5zSNFm+oJYTtvB3IG8Cr9AWF uvVw== 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 q12-20020a17090311cc00b00172d0e07c02si670240plh.392.2022.09.01.18.31.09; Thu, 01 Sep 2022 18:31:21 -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 S234801AbiIBBMh (ORCPT + 99 others); Thu, 1 Sep 2022 21:12:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231357AbiIBBMg (ORCPT ); Thu, 1 Sep 2022 21:12:36 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 176F5A061D; Thu, 1 Sep 2022 18:12:35 -0700 (PDT) Received: from canpemm500006.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MJft00HCTzYcmw; Fri, 2 Sep 2022 09:08:08 +0800 (CST) Received: from [10.174.179.200] (10.174.179.200) by canpemm500006.china.huawei.com (7.192.105.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 2 Sep 2022 09:12:20 +0800 Subject: Re: [PATCH next-next 0/2] net: vlan: two small refactors to make code more concise To: Paolo Abeni , , , , , CC: References: <306bd3cb986764e60f7ac21809ab68094b2e3325.camel@redhat.com> From: "Ziyang Xuan (William)" Message-ID: <74d89f90-c717-2a72-b16b-812c1af1d6d2@huawei.com> Date: Fri, 2 Sep 2022 09:12:20 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <306bd3cb986764e60f7ac21809ab68094b2e3325.camel@redhat.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.179.200] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To canpemm500006.china.huawei.com (7.192.105.130) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 在 2022/9/1 21:28, Paolo Abeni 写道: > Hello, > > On Wed, 2022-08-31 at 12:09 +0800, Ziyang Xuan wrote: >> Give two small refactors to make code more concise. >> >> Ziyang Xuan (2): >> net: vlan: remove unnecessary err variable in vlan_init_net() >> net: vlan: reduce indentation level in __vlan_find_dev_deep_rcu() >> >> net/8021q/vlan.c | 5 +---- >> net/8021q/vlan_core.c | 22 +++++++++------------- >> 2 files changed, 10 insertions(+), 17 deletions(-) > > The patches look correct to me, but I think is better to defer this > kind of nun-functional refactors to some work actually doing new stuff, > to avoid unneeded noise. > > Note that I merged a few other clean-up recently, but e.g. they at > least formally removed some unneeded branch. > > Sorry, I'm not going to apply this series. No problem, I will try to dig deeper. > > Cheers, > > Paolo > > . >