diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-07-06 13:53:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-06 13:53:09 -0700 |
commit | f1093620ecc883dbc931b352d1b8138a8c20fdef (patch) | |
tree | 4ac36858eecdd17eadfd46e074bf8939c0d6bb91 /crypto/internal.h | |
parent | d8a628b15aa3c175a8d2708e2c9c1749bc4494e8 (diff) | |
download | linux-crypto-f1093620ecc883dbc931b352d1b8138a8c20fdef.tar.gz linux-crypto-f1093620ecc883dbc931b352d1b8138a8c20fdef.zip |
[CRYPTO] Make crypto_alg_lookup static
This patch makes a needlessly global function static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/internal.h')
-rw-r--r-- | crypto/internal.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/crypto/internal.h b/crypto/internal.h index 5ed383f7..83b1b6d6 100644 --- a/crypto/internal.h +++ b/crypto/internal.h @@ -16,7 +16,6 @@ #include <linux/highmem.h> #include <linux/interrupt.h> #include <linux/init.h> -#include <linux/kmod.h> #include <asm/kmap_types.h> extern enum km_type crypto_km_types[]; @@ -42,15 +41,6 @@ static inline void crypto_yield(struct crypto_tfm *tfm) cond_resched(); } -struct crypto_alg *crypto_alg_lookup(const char *name); - -/* A far more intelligent version of this is planned. For now, just - * try an exact match on the name of the algorithm. */ -static inline struct crypto_alg *crypto_alg_mod_lookup(const char *name) -{ - return try_then_request_module(crypto_alg_lookup(name), name); -} - #ifdef CONFIG_CRYPTO_HMAC int crypto_alloc_hmac_block(struct crypto_tfm *tfm); void crypto_free_hmac_block(struct crypto_tfm *tfm); |