crypto: cavium - remove redundant null pointer check before kfree
authorzhong jiang <zhongjiang@huawei.com>
Fri, 21 Sep 2018 13:30:15 +0000 (21:30 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Sep 2018 04:46:27 +0000 (12:46 +0800)
commit79517e8f8e6dddd2a90517123ffdb366828b69f5
tree8141f83577defc6e94a3023537720991ac7e2845
parent2a8780be9c26457b84d786f7ac9ed110625dde92
crypto: cavium - remove redundant null pointer check before kfree

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

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/cavium/cpt/cptvf_reqmanager.c