From: Julian Wiedmann <jwi@xxxxxxxxxxxxx> Date: Sun, 15 Sep 2019 19:21:05 +0200 > From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> > > 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@xxxxxxxxxxxxxxxxxxxxx> > Signed-off-by: Julian Wiedmann <jwi@xxxxxxxxxxxxx> Applied.