summaryrefslogtreecommitdiffstats
path: root/crypto/crypto_user_stat.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-01-10 12:17:59 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-01-18 18:43:43 +0800
commit554557ce0001fc0371fb88db53d7dfe2a398c6de (patch)
treeace99bb73065e4b7865eb5470be833a098404a12 /crypto/crypto_user_stat.c
parentf990f7fb58ac8ac9a43316f09a48cff1a49dda42 (diff)
downloadlinux-stable-554557ce0001fc0371fb88db53d7dfe2a398c6de.tar.gz
linux-stable-554557ce0001fc0371fb88db53d7dfe2a398c6de.tar.bz2
linux-stable-554557ce0001fc0371fb88db53d7dfe2a398c6de.zip
crypto: stat - remove unused mutex
crypto_cfg_mutex in crypto_user_stat.c is unused. Remove it. 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 'crypto/crypto_user_stat.c')
-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 d4d1cb2bedd7..a03f326a63d3 100644
--- a/crypto/crypto_user_stat.c
+++ b/crypto/crypto_user_stat.c
@@ -20,8 +20,6 @@
#define null_terminated(x) (strnlen(x, sizeof(x)) < sizeof(x))
-static DEFINE_MUTEX(crypto_cfg_mutex);
-
struct crypto_dump_info {
struct sk_buff *in_skb;
struct sk_buff *out_skb;