]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ptp_ines: Remove redundant null check
authorXu Wang <vulab@iscas.ac.cn>
Wed, 26 Aug 2020 03:12:51 +0000 (03:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Aug 2020 14:08:59 +0000 (07:08 -0700)
commitc4d857c12ebf279010eef0f65f0395adfb470429
treef44a6b850ca25c00358e6a38ba597848336a5117
parent4bf59a6f518f1d24b1ca6f7ad253435b2fae23a5
ptp: ptp_ines: Remove redundant null check

Because kfree_skb already checked NULL skb parameter,
so the additional check is unnecessary, just remove it.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ines.c