crypto: api - Change crypto_unregister_instance argument type
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 2 Apr 2015 14:39:40 +0000 (22:39 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Apr 2015 09:53:32 +0000 (17:53 +0800)
commit87b1675634e1e9f1570445c55604204771ac9078
tree94de40f13b4e73cb4e925278a2119a8bdf3df764
parent1f7237109951ebe8dc194461716443a5d8caf308
crypto: api - Change crypto_unregister_instance argument type

This patch makes crypto_unregister_instance take a crypto_instance
instead of a crypto_alg.  This allows us to remove a duplicate
CRYPTO_ALG_INSTANCE check in crypto_unregister_instance.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algapi.c
crypto/crypto_user.c
include/crypto/algapi.h