mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-30 13:38:40 +00:00
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>
This commit is contained in:
parent
383dec1fa3
commit
d65e55d499
@ -178,7 +178,6 @@ static int i2c_nuvoton_wait_for_stat(struct tpm_chip *chip, u8 mask, u8 value,
|
|||||||
{
|
{
|
||||||
if (chip->vendor.irq && queue) {
|
if (chip->vendor.irq && queue) {
|
||||||
s32 rc;
|
s32 rc;
|
||||||
DEFINE_WAIT(wait);
|
|
||||||
struct priv_data *priv = chip->vendor.priv;
|
struct priv_data *priv = chip->vendor.priv;
|
||||||
unsigned int cur_intrs = priv->intrs;
|
unsigned int cur_intrs = priv->intrs;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user