]> git.baikalelectronics.ru Git - kernel.git/commit
net: nci: remove redundant null pointer check before kfree_skb
authorzhong jiang <zhongjiang@huawei.com>
Thu, 20 Sep 2018 09:37:44 +0000 (17:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Sep 2018 16:04:37 +0000 (09:04 -0700)
commit989ccf335fe29f9e9e0462b8e2fcc01702fb3604
tree60466f075deaf114add67aad44bf0971013a710f
parent6750d5d98bfedac2d1fd7950ee34dd39160d46e2
net: nci: remove redundant null pointer check before kfree_skb

kfree_skb has taken the null pointer into account. hence it is safe
to remove the redundant null pointer check before kfree_skb.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/nfc/nci/uart.c