On Mon, Feb 11, 2019 at 12:02:51PM +0100, Sebastian Andrzej Siewior wrote: > crypto_cfg_mutex was never used since it got introduced in commit > > cac5818c25d04 ("crypto: user - Implement a generic crypto statistics") > > Cc: Corentin Labbe <clabbe@xxxxxxxxxxxx> > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> > --- > crypto/crypto_user_stat.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/crypto/crypto_user_stat.c b/crypto/crypto_user_stat.c > index 3e9a53233d804..028be6a1ea781 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); > - > extern struct sock *crypto_nlsk; > > struct crypto_dump_info { > -- > 2.20.1 > Hi Sebastian, this is already removed by a patch queued in cryptodev: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git/commit/?id=554557ce0001fc0371fb88db53d7dfe2a398c6de - Eric