nfc: st21nfca: remove unnecessary skb check before kfree_skb()
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 18 Mar 2022 07:27:28 +0000 (15:27 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 19 Mar 2022 04:41:51 +0000 (21:41 -0700)
commit800c326bfa9cee38f0e173733ce9f93492c84c8b
treeec0eb2c4fc9ab4e3a0f7f3b8511a02240d78e2f9
parent49270afa037bcaf88133329ff7304f2945cb871c
nfc: st21nfca: remove unnecessary skb check before kfree_skb()

The skb will be checked in kfree_skb(), so remove the outside check.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20220318072728.2659578-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/nfc/st21nfca/i2c.c