summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-01-10 21:17:59 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-01-18 11:43:43 +0100
commit554557ce0001fc0371fb88db53d7dfe2a398c6de (patch)
treeace99bb73065e4b7865eb5470be833a098404a12 /crypto
parentcrypto: tgr192 - fix unaligned memory access (diff)
downloadlinux-554557ce0001fc0371fb88db53d7dfe2a398c6de.tar.xz
linux-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')
-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;