crypto: jitterentropy - Delete unnecessary checks before the function call "kzfree"
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 23 Jun 2015 20:30:21 +0000 (22:30 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Jun 2015 15:18:33 +0000 (23:18 +0800)
commitcea0a3c305fa348cfad3bae4a226c241720daf55
tree935aa81b3fe9bcba037b2e9cb32450e8ae4199f9
parent338a9de0350c1abd9c9f6a8dacb2ba4d950e0d22
crypto: jitterentropy - Delete unnecessary checks before the function call "kzfree"

The kzfree() function tests whether its argument is NULL and then
returns immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/jitterentropy.c