[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190822.162310.1544602687585865172.davem@davemloft.net>
Date: Thu, 22 Aug 2019 16:23:10 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Markus.Elfring@....de
Cc: linux-can@...r.kernel.org, netdev@...r.kernel.org,
allison@...utok.net, lkml@...ux.net, gregkh@...uxfoundation.org,
gustavo@...eddedor.com, lukas@...ner.de, mkl@...gutronix.de,
sean@...nix.com, tglx@...utronix.de, houweitaoo@...il.com,
wg@...ndegger.com, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] can: Delete unnecessary checks before the macro call
“dev_kfree_skb”
From: Markus Elfring <Markus.Elfring@....de>
Date: Wed, 21 Aug 2019 21:30:11 +0200
> From: Markus Elfring <elfring@...rs.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@...rs.sourceforge.net>
Applied.
Powered by blists - more mailing lists