From: Ziyang Xuan <william.xuanziyang@huawei.com>
To: <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>, <morbo@google.com>, <netdev@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH next-next 0/2] net: vlan: two small refactors to make code more concise
Date: Wed, 31 Aug 2022 12:09:55 +0800 [thread overview]
Message-ID: <cover.1661916732.git.william.xuanziyang@huawei.com> (raw)
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(-)
--
2.25.1
next reply other threads:[~2022-08-31 4:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-31 4:09 Ziyang Xuan [this message]
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)
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=cover.1661916732.git.william.xuanziyang@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