2016-10-07 21:14:35

by Eric Biggers

[permalink] [raw]
Subject: [PATCH] crypto: skcipher - Remove unused crypto_lookup_skcipher() declaration

The definition of crypto_lookup_skcipher() was already removed in
commit 3a01d0ee2b99 ("crypto: skcipher - Remove top-level givcipher
interface"). So the declaration should be removed too.

Signed-off-by: Eric Biggers <[email protected]>
---
include/crypto/internal/skcipher.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/crypto/internal/skcipher.h b/include/crypto/internal/skcipher.h
index a21a95e..95d2a18 100644
--- a/include/crypto/internal/skcipher.h
+++ b/include/crypto/internal/skcipher.h
@@ -74,8 +74,6 @@ static inline int crypto_grab_skcipher2(struct crypto_skcipher_spawn *spawn,
return crypto_grab_skcipher(spawn, name, type, mask);
}

-struct crypto_alg *crypto_lookup_skcipher(const char *name, u32 type, u32 mask);
-
static inline void crypto_drop_skcipher(struct crypto_skcipher_spawn *spawn)
{
crypto_drop_spawn(&spawn->base);
--
2.8.0.rc3.226.g39d4020


2016-10-21 03:14:16

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: skcipher - Remove unused crypto_lookup_skcipher() declaration

On Fri, Oct 07, 2016 at 02:13:34PM -0700, Eric Biggers wrote:
> The definition of crypto_lookup_skcipher() was already removed in
> commit 3a01d0ee2b99 ("crypto: skcipher - Remove top-level givcipher
> interface"). So the declaration should be removed too.
>
> Signed-off-by: Eric Biggers <[email protected]>

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt