netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ziyang Xuan <william.xuanziyang@huawei.com>
To: <socketcan@hartkopp.net>, <mkl@pengutronix.de>,
	<linux-can@vger.kernel.org>, <netdev@vger.kernel.org>
Cc: <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
	<pabeni@redhat.com>, <linux-kernel@vger.kernel.org>
Subject: [PATCH net-next 0/2] can: raw: random optimizations
Date: Sat, 27 Aug 2022 15:20:09 +0800	[thread overview]
Message-ID: <cover.1661584485.git.william.xuanziyang@huawei.com> (raw)

Do some small optimizations for can_raw.

Ziyang Xuan (2):
  can: raw: process optimization in raw_init()
  can: raw: use guard clause to optimize nesting in raw_rcv()

 net/can/raw.c | 27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)

-- 
2.25.1


             reply	other threads:[~2022-08-27  7:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-27  7:20 Ziyang Xuan [this message]
2022-08-27  7:20 ` [PATCH net-next 1/2] can: raw: process optimization in raw_init() Ziyang Xuan
2022-08-27  7:20 ` [PATCH net-next 2/2] can: raw: use guard clause to optimize nesting in raw_rcv() Ziyang Xuan
2022-09-06  6:42 ` [PATCH net-next 0/2] can: raw: random optimizations Marc Kleine-Budde

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.1661584485.git.william.xuanziyang@huawei.com \
    --to=william.xuanziyang@huawei.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-can@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mkl@pengutronix.de \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=socketcan@hartkopp.net \
    /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;
as well as URLs for NNTP newsgroup(s).