]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3b1043c5827450313ad92f044483fa4ecf040dde
treecb3a9cc79ef76b12e9a8f043ce79dbf3c5416e69
parentf864c7ba3be24892d479fd86c95c68443951e384
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