From: David Miller <davem@davemloft.net>
To: Markus.Elfring@web.de
Cc: kstewart@linuxfoundation.org, michael.heimpold@i2se.com,
kernel-janitors@vger.kernel.org,
wsa+renesas@sang-engineering.com, weiyongjun1@huawei.com,
opensource@jilayne.com, linux-stm32@st-md-mailman.stormreply.com,
stefan.wahren@i2se.com, opendmb@gmail.com, yuehaibing@huawei.com,
joabreu@synopsys.com, intel-wired-lan@lists.osuosl.org,
linux-arm-kernel@lists.infradead.org,
bcm-kernel-feedback-list@broadcom.com, ynezz@true.cz,
bryan.whitehead@microchip.com, jeffrey.t.kirsher@intel.com,
alexandre.torgue@st.com, jonathan.lemon@gmail.com,
yang.wei9@zte.com.cn, alexios.zavras@intel.com,
claudiu.manoil@nxp.com, f.fainelli@gmail.com, swinslow@gmail.com,
shannon.nelson@oracle.com, peppe.cavallaro@st.com,
tglx@linutronix.de, zhongjiang@huawei.com, allison@lohutok.net,
nico@fluxnic.net, gregkh@linuxfoundation.org,
dougmill@linux.ibm.com, linux-kernel@vger.kernel.org,
UNGLinuxDriver@microchip.com, mcgrof@kernel.org,
mcoquelin.stm32@gmail.com, netdev@vger.kernel.org
Subject: Re: [PATCH] ethernet: Delete unnecessary checks before the macro call “dev_kfree_skb”
Date: Thu, 22 Aug 2019 16:23:39 -0700 (PDT) [thread overview]
Message-ID: <20190822.162339.831735149510227752.davem@davemloft.net> (raw)
In-Reply-To: <af1ae1cf-4a01-5e3a-edc2-058668487137@web.de>
From: Markus Elfring <Markus.Elfring@web.de>
Date: Thu, 22 Aug 2019 20:30:15 +0200
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Thu, 22 Aug 2019 20:02:56 +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.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-08-22 23:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-22 18:30 [PATCH] ethernet: Delete unnecessary checks before the macro call “dev_kfree_skb” Markus Elfring
2019-08-22 23:23 ` David Miller [this message]
2019-08-23 14:08 ` Christophe JAILLET
2019-08-23 16:10 ` Scott Branden
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.162339.831735149510227752.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Markus.Elfring@web.de \
--cc=UNGLinuxDriver@microchip.com \
--cc=alexandre.torgue@st.com \
--cc=alexios.zavras@intel.com \
--cc=allison@lohutok.net \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=bryan.whitehead@microchip.com \
--cc=claudiu.manoil@nxp.com \
--cc=dougmill@linux.ibm.com \
--cc=f.fainelli@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jeffrey.t.kirsher@intel.com \
--cc=joabreu@synopsys.com \
--cc=jonathan.lemon@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=kstewart@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcgrof@kernel.org \
--cc=mcoquelin.stm32@gmail.com \
--cc=michael.heimpold@i2se.com \
--cc=netdev@vger.kernel.org \
--cc=nico@fluxnic.net \
--cc=opendmb@gmail.com \
--cc=opensource@jilayne.com \
--cc=peppe.cavallaro@st.com \
--cc=shannon.nelson@oracle.com \
--cc=stefan.wahren@i2se.com \
--cc=swinslow@gmail.com \
--cc=tglx@linutronix.de \
--cc=weiyongjun1@huawei.com \
--cc=wsa+renesas@sang-engineering.com \
--cc=yang.wei9@zte.com.cn \
--cc=ynezz@true.cz \
--cc=yuehaibing@huawei.com \
--cc=zhongjiang@huawei.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).