Re: [PATCH] can: Delete unnecessary checks before the macro call “dev_kfree_skb”

2019-08-22 Thread David Miller
From: Markus Elfring Date: Wed, 21 Aug 2019 21:30:11 +0200 > From: Markus Elfring > 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 Co

Re: [PATCH] can: Delete unnecessary checks before the macro call “dev_kfree_skb”

2019-08-22 Thread Sean Nyekjaer
On 21/08/2019 21.30, Markus Elfring wrote: From: Markus Elfring 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-

[PATCH] can: Delete unnecessary checks before the macro call “dev_kfree_skb”

2019-08-21 Thread Markus Elfring
From: Markus Elfring 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 --- drivers/net/can/spi