crypto: vmx - remove unnecessary check
authorTudor-Dan Ambarus <tudor.ambarus@microchip.com>
Fri, 16 Jun 2017 08:39:48 +0000 (11:39 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Jun 2017 03:21:49 +0000 (11:21 +0800)
commit78557e77b25a98c153f87182a0f48b63e474ac9f
tree11dc1349b0c9e2788c5282f7fa7227b0c39a19d2
parent4914b90b7baa8f21a4bb4ddc3d92b92e3324767e
crypto: vmx - remove unnecessary check

You can't reach init() if parent alg_name is invalid. Moreover,
cypto_alloc_base() will return ENOENT if alg_name is NULL.
Found while grasping the fallback mechanism.

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