diff options
author | David S. Miller <davem@davemloft.net> | 2011-04-17 16:41:29 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-17 16:41:29 -0700 |
commit | f6f0e4a7a343f85dd773f6f18e553933c4367e96 (patch) | |
tree | 608adafda9ffd57b4ce4ad7cb4a5d25a6c32335c | |
parent | d462003ddbb28926109396b9038299fc740c2efc (diff) | |
download | op-kernel-dev-f6f0e4a7a343f85dd773f6f18e553933c4367e96.zip op-kernel-dev-f6f0e4a7a343f85dd773f6f18e553933c4367e96.tar.gz |
isdn: jade: Fix set-but-unused variables.
The variable 'i' is set but unused in JadeVersion(). Just
kill it off.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/isdn/hisax/jade.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/jade.c b/drivers/isdn/hisax/jade.c index ea8f840..a06cea0 100644 --- a/drivers/isdn/hisax/jade.c +++ b/drivers/isdn/hisax/jade.c @@ -23,10 +23,9 @@ int JadeVersion(struct IsdnCardState *cs, char *s) { - int ver,i; + int ver; int to = 50; cs->BC_Write_Reg(cs, -1, 0x50, 0x19); - i=0; while (to) { udelay(1); ver = cs->BC_Read_Reg(cs, -1, 0x60); |