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)
commitea416e277f09c4285f60a7ea741ca62719191a90
treef44a6b850ca25c00358e6a38ba597848336a5117
parentca65a280fb4bc06baa6ea33f42631e489e462604
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