diff mbox series

[V2] tpm: Remove tpm_dev_wq_lock

Message ID 87ft48doti.fsf@nanos.tec.linutronix.de (mailing list archive)
State New, archived
Headers show
Series [V2] tpm: Remove tpm_dev_wq_lock | expand

Commit Message

Thomas Gleixner Dec. 14, 2020, 10:07 p.m. UTC
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Never used since it was added.

Fixes: 9e1b74a63f776 ("tpm: add support for nonblocking operation")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas 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>
---
V2: Reworded the change log so the !&!%#$ dispute over the formatting
    is not longer in the way of getting this triviality done.
---
 drivers/char/tpm/tpm-dev-common.c |    1 -
 1 file changed, 1 deletion(-)

Comments

Jarkko Sakkinen Jan. 4, 2021, 6:21 p.m. UTC | #1
On Mon, Dec 14, 2020 at 11:07:21PM +0100, Thomas Gleixner wrote:
> 
> From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> 
> Never used since it was added.

Hi, apologies for this latency. I was in vacation during 12/14-12/20
last month, and after that Christmas and New Year mixed up schedules a
bit.

Applying today, thanks.

/Jarkko

> Fixes: 9e1b74a63f776 ("tpm: add support for nonblocking operation")
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> Signed-off-by: Thomas 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>
> ---
> V2: Reworded the change log so the !&!%#$ dispute over the formatting
>     is not longer in the way of getting this triviality done.
> ---
>  drivers/char/tpm/tpm-dev-common.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> --- a/drivers/char/tpm/tpm-dev-common.c
> +++ b/drivers/char/tpm/tpm-dev-common.c
> @@ -20,7 +20,6 @@
>  #include "tpm-dev.h"
>  
>  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,
>  				u8 *buf, size_t bufsiz)
diff mbox series

Patch

--- a/drivers/char/tpm/tpm-dev-common.c
+++ b/drivers/char/tpm/tpm-dev-common.c
@@ -20,7 +20,6 @@ 
 #include "tpm-dev.h"
 
 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,
 				u8 *buf, size_t bufsiz)