]> git.baikalelectronics.ru Git - kernel.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)
commit0c3b0f67743b700c7d0843f5c139f766d50208ab
treef4ddfd3c44461af10ac26350f4aff001c9da3d4f
parent5b77ed2eb48eac86c58f8c2b35a303d863d3b06f
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