diff options
-rw-r--r-- | drivers/char/tpm/tpm_i2c_nuvoton.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_i2c_nuvoton.c b/drivers/char/tpm/tpm_i2c_nuvoton.c index 6276fea01ff0..4f5ac251ae1e 100644 --- a/drivers/char/tpm/tpm_i2c_nuvoton.c +++ b/drivers/char/tpm/tpm_i2c_nuvoton.c | |||
@@ -178,7 +178,6 @@ static int i2c_nuvoton_wait_for_stat(struct tpm_chip *chip, u8 mask, u8 value, | |||
178 | { | 178 | { |
179 | if (chip->vendor.irq && queue) { | 179 | if (chip->vendor.irq && queue) { |
180 | s32 rc; | 180 | s32 rc; |
181 | DEFINE_WAIT(wait); | ||
182 | struct priv_data *priv = chip->vendor.priv; | 181 | struct priv_data *priv = chip->vendor.priv; |
183 | unsigned int cur_intrs = priv->intrs; | 182 | unsigned int cur_intrs = priv->intrs; |
184 | 183 | ||