OSDN Git Service

crypto: atmel - remove empty functions
authorTudor-Dan Ambarus <tudor.ambarus@microchip.com>
Thu, 2 Nov 2017 15:12:25 +0000 (17:12 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 6 Nov 2017 06:45:05 +0000 (14:45 +0800)
commit747f6ec6e8f59bb946a5b0a4d4b8d1f45109b6ab
treebcb76c9882ae225d8342cc60f0a7e62510bb210f
parentf560acc3bbb05a6e974ea245562c94eb5d344768
crypto: atmel - remove empty functions

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 these pointers are not NULL before using them,
therefore we can safely remove these empty functions.

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