crypto: chtls - remove redundant null pointer check before kfree_skb
authorzhong jiang <zhongjiang@huawei.com>
Thu, 20 Sep 2018 09:57:16 +0000 (17:57 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Sep 2018 04:46:26 +0000 (12:46 +0800)
commitce1294d981c1467c13b2b698913f35859592308b
tree906c8cc8e4de7b552e1abba442d480350b90baf5
parent4d407b04d4f3900ac9d6379c5f22364a9ef66ba6
crypto: chtls - 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: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chtls/chtls_cm.c
drivers/crypto/chelsio/chtls/chtls_main.c