Skip to content

Commit d65e55d

Browse files
mina86PeterHuewe
authored andcommitted
char: tpm: nuvoton: remove unused variable
“wait” wait queue is defined but never used in the function, thus it can be removed. Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Acked-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
1 parent 383dec1 commit d65e55d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/char/tpm/tpm_i2c_nuvoton.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ static int i2c_nuvoton_wait_for_stat(struct tpm_chip *chip, u8 mask, u8 value,
178178
{
179179
if (chip->vendor.irq && queue) {
180180
s32 rc;
181-
DEFINE_WAIT(wait);
182181
struct priv_data *priv = chip->vendor.priv;
183182
unsigned int cur_intrs = priv->intrs;
184183

0 commit comments

Comments
 (0)