]> 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)
commit5f8bb3ac060fd84743295c309a4e7aa3ac06e368
treef44a6b850ca25c00358e6a38ba597848336a5117
parent4c1a1110f2d0b796803244d63395c7e6c8734dea
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