From: "Ziyang Xuan (William)" <william.xuanziyang@huawei.com>
To: Paolo Abeni <pabeni@redhat.com>, <davem@davemloft.net>,
<edumazet@google.com>, <kuba@kernel.org>, <morbo@google.com>,
<netdev@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH next-next 0/2] net: vlan: two small refactors to make code more concise
Date: Fri, 2 Sep 2022 09:12:20 +0800 [thread overview]
Message-ID: <74d89f90-c717-2a72-b16b-812c1af1d6d2@huawei.com> (raw)
In-Reply-To: <306bd3cb986764e60f7ac21809ab68094b2e3325.camel@redhat.com>
在 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
>
> .
>
prev parent reply other threads:[~2022-09-02 1:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-31 4:09 Ziyang Xuan
2022-08-31 4:09 ` [PATCH next-next 1/2] net: vlan: remove unnecessary err variable in vlan_init_net() Ziyang Xuan
2022-08-31 4:09 ` [PATCH next-next 2/2] net: vlan: reduce indentation level in __vlan_find_dev_deep_rcu() Ziyang Xuan
2022-09-01 13:28 ` [PATCH next-next 0/2] net: vlan: two small refactors to make code more concise Paolo Abeni
2022-09-02 1:12 ` Ziyang Xuan (William) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=74d89f90-c717-2a72-b16b-812c1af1d6d2@huawei.com \
--to=william.xuanziyang@huawei.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=morbo@google.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®