summaryrefslogtreecommitdiff
path: root/crypto/crypto_user_stat.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-01-10 12:17:56 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-01-18 18:43:43 +0800
commite642983ff39a364c6250444d582544b7d4158d9f (patch)
tree65cdaecd0d22a7d1be37500460b497d7c1807bf7 /crypto/crypto_user_stat.c
parentceb5ff32cdf5c67a69c97194334ca80f31996e91 (diff)
downloadlinux-crypto-e642983ff39a364c6250444d582544b7d4158d9f.tar.gz
linux-crypto-e642983ff39a364c6250444d582544b7d4158d9f.zip
crypto: user - forward declare crypto_nlsk
Move the declaration of crypto_nlsk into internal/cryptouser.h. This fixes the following sparse warning: crypto/crypto_user_base.c:41:13: warning: symbol 'crypto_nlsk' was not declared. Should it be static? Cc: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--crypto/crypto_user_stat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/crypto_user_stat.c b/crypto/crypto_user_stat.c
index 3e9a5323..d4d1cb2b 100644
--- a/crypto/crypto_user_stat.c
+++ b/crypto/crypto_user_stat.c
@@ -22,8 +22,6 @@
static DEFINE_MUTEX(crypto_cfg_mutex);
-extern struct sock *crypto_nlsk;
-
struct crypto_dump_info {
struct sk_buff *in_skb;
struct sk_buff *out_skb;