From: David Miller <davem@davemloft.net>
To: Markus.Elfring@web.de
Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org,
allison@lohutok.net, lkml@metux.net, gregkh@linuxfoundation.org,
gustavo@embeddedor.com, lukas@wunner.de, mkl@pengutronix.de,
sean@geanix.com, tglx@linutronix.de, houweitaoo@gmail.com,
wg@grandegger.com, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] can: Delete unnecessary checks before the macro call “dev_kfree_skb”
Date: Thu, 22 Aug 2019 16:23:10 -0700 (PDT) [thread overview]
Message-ID: <20190822.162310.1544602687585865172.davem@davemloft.net> (raw)
In-Reply-To: <27674907-fd2a-7f0c-84fd-d8b5124739a9@web.de>
From: Markus Elfring <Markus.Elfring@web.de>
Date: Wed, 21 Aug 2019 21:30:11 +0200
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Wed, 21 Aug 2019 21:16:15 +0200
>
> The dev_kfree_skb() function performs also input parameter validation.
> Thus the test around the shown calls is not needed.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Applied.
prev parent reply other threads:[~2019-08-22 23:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-21 19:30 [PATCH] can: Delete unnecessary checks before the macro call “dev_kfree_skb” Markus Elfring
2019-08-22 9:13 ` Sean Nyekjaer
2019-08-22 23:23 ` David Miller [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=20190822.162310.1544602687585865172.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Markus.Elfring@web.de \
--cc=allison@lohutok.net \
--cc=gregkh@linuxfoundation.org \
--cc=gustavo@embeddedor.com \
--cc=houweitaoo@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-can@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@metux.net \
--cc=lukas@wunner.de \
--cc=mkl@pengutronix.de \
--cc=netdev@vger.kernel.org \
--cc=sean@geanix.com \
--cc=tglx@linutronix.de \
--cc=wg@grandegger.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;
as well as URLs for NNTP newsgroup(s).