Commit 724eaba4 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Jarkko Sakkinen

tpm: Remove tpm_dev_wq_lock

Never used since it was added.

Fixes: 9e1b74a6 ("tpm: add support for nonblocking operation")
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: linux-integrity@vger.kernel.org
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Philip Tricca <philip.b.tricca@intel.com>
Cc: Tadeusz Struk <tadeusz.struk@intel.com>
Cc: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: default avatarJarkko Sakkinen <jarkko@kernel.org>
parent 3a253caa
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
#include "tpm-dev.h" #include "tpm-dev.h"
static struct workqueue_struct *tpm_dev_wq; static struct workqueue_struct *tpm_dev_wq;
static DEFINE_MUTEX(tpm_dev_wq_lock);
static ssize_t tpm_dev_transmit(struct tpm_chip *chip, struct tpm_space *space, static ssize_t tpm_dev_transmit(struct tpm_chip *chip, struct tpm_space *space,
u8 *buf, size_t bufsiz) u8 *buf, size_t bufsiz)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment