Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d65e55d4 authored by Michal Nazarewicz's avatar Michal Nazarewicz Committed by Peter Huewe
Browse files

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: default avatarMichal Nazarewicz <mina86@mina86.com>
Acked-by: default avatarJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
parent 383dec1f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;