diff mbox

crypto: skcipher - Remove unused crypto_lookup_skcipher() declaration

Message ID 1475874815-136813-1-git-send-email-ebiggers@google.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show

Commit Message

Eric Biggers Oct. 7, 2016, 9:13 p.m. UTC
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 <ebiggers@google.com>
---
 include/crypto/internal/skcipher.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Herbert Xu Oct. 21, 2016, 3:14 a.m. UTC | #1
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 <ebiggers@google.com>

Patch applied.  Thanks.
diff mbox

Patch

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);