char: tpm: nuvoton: remove unused variable
PATCH 1/1 char: tpm: nuvoton: remove unused variable
From: Michal Nazarewicz <[email protected]>
“wait” wait queue is defined but never used in the function, thus it can be removed.
Signed-off-by Michal Nazarewicz <[email protected]>
--- drivers/char/tpm/tpm_i2c_nuvoton.c | 1 - 1 file changed, 1 deletion(-)
drivers/char/tpm/tpm_i2c_nuvoton.c +0 -1
@@ -178,7 +178,6 @@ static int i2c_nuvoton_wait_for_stat(struct tpm_chip *chip, u8 mask, u8 value, {if (chip->vendor.irq && queue) {s32 rc; -DEFINE_WAIT (wait);struct priv_data *priv = chip->vendor.priv;unsigned int cur_intrs = priv->intrs;
Signature · 1 line
1.8.4.1
Quoted 8 lines · Michal Nazarewicz
From: Michal Nazarewicz <[email protected]>
“wait” wait queue is defined but never used in the function, thus it can be removed.
Signed-off-by Michal Nazarewicz <[email protected]>drivers/char/tpm/tpm_i2c_nuvoton.c | 1 - 1 file changed, 1 deletion(-)
Acked-by Jason Gunthorpe <[email protected]>
Thanks,
Jason
Am Freitag, 29. November 2013, 22:12:52 schrieb Jason Gunthorpe:
Quoted 8 lines · Michal Nazarewicz
Quoted 7 lines
From: Michal Nazarewicz <[email protected]>
“wait” wait queue is defined but never used in the function, thus it can be removed.
Signed-off-by Michal Nazarewicz <[email protected]>
Quoted 7 lines
Quoted 2 lines
drivers/char/tpm/tpm_i2c_nuvoton.c | 1 - 1 file changed, 1 deletion(-)Acked-by Jason Gunthorpe <[email protected]>Thanks,
Jason
Applied.
https://github.com/PeterHuewe/linux-tpmdd/commits/for-james
Thanks
Peter