crypto: essiv - remove redundant null pointer check before kfree
authorChen Wandun <chenwandun@huawei.com>
Sat, 16 Nov 2019 06:51:00 +0000 (14:51 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Nov 2019 10:48:38 +0000 (18:48 +0800)
commite18036da5c23530994faf7243b592e581f1efed2
treecb3a9cc79ef76b12e9a8f043ce79dbf3c5416e69
parent57d8154f15e89f53dfb412f4ed32ebe3c3d755a0
crypto: essiv - remove redundant null pointer check before kfree

kfree has taken null pointer check into account. so it is safe to
remove the unnecessary check.

Signed-off-by: Chen Wandun <chenwandun@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/essiv.c