]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit74609f40c052bb6b0c85e95871789fb24ce60575
treebcb76c9882ae225d8342cc60f0a7e62510bb210f
parent0c3b0f67743b700c7d0843f5c139f766d50208ab
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