projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
383dec1
)
char: tpm: nuvoton: remove unused variable
author
Michal Nazarewicz
<mina86@mina86.com>
Fri, 29 Nov 2013 17:00:18 +0000
(18:00 +0100)
committer
Peter Huewe
<peterhuewe@gmx.de>
Mon, 6 Jan 2014 13:37:24 +0000
(14:37 +0100)
“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>
drivers/char/tpm/tpm_i2c_nuvoton.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/tpm/tpm_i2c_nuvoton.c
b/drivers/char/tpm/tpm_i2c_nuvoton.c
index 6276fea01ff0e0d5051311cc48fb7423c46ace08..4f5ac251ae1e6395f04b1d26981473dbc0b9ca9d 100644
(file)
--- 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,
{
if (chip->vendor.irq && queue) {
s32 rc;
- DEFINE_WAIT(wait);
struct priv_data *priv = chip->vendor.priv;
unsigned int cur_intrs = priv->intrs;