Tag: c799443ee13ef37221732839f1cca6f11c798b7a

batman-adv: Delete unnecessary checks before the function call “kfree_skb”

Author: Markus Elfring <elfring@users.sourceforge.net> The kfree_skb() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli — net/batman-adv/main.c | 2 +- net/batman-adv/network-coding.c | 4 +— net/batman-adv/send.c | …

Continue reading