]> asedeno.scripts.mit.edu Git - linux.git/commit
crypto: ecdh - remove empty exit()
authorTudor-Dan Ambarus <tudor.ambarus@microchip.com>
Thu, 2 Nov 2017 14:46:47 +0000 (16:46 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 6 Nov 2017 06:45:04 +0000 (14:45 +0800)
commitf560acc3bbb05a6e974ea245562c94eb5d344768
treef4ddfd3c44461af10ac26350f4aff001c9da3d4f
parent3c24f992a4fc2ebe17b5f0aafabc49ab14876ed3
crypto: ecdh - remove empty exit()

Pointer members of an object with static storage duration, if not
explicitly initialized, will be initialized to a NULL pointer. The crypto
API checks if this pointer is not NULL before using it, we are safe to
remove the function.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/ecdh.c