aboutsummaryrefslogtreecommitdiff
path: root/drivers/isdn/hisax
diff options
context:
space:
mode:
authorDavid S. Miller2011-04-17 16:41:29 -0700
committerDavid S. Miller2011-04-17 16:41:29 -0700
commitf6f0e4a7a343f85dd773f6f18e553933c4367e96 (patch)
tree608adafda9ffd57b4ce4ad7cb4a5d25a6c32335c /drivers/isdn/hisax
parentd462003ddbb28926109396b9038299fc740c2efc (diff)
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>
Diffstat (limited to 'drivers/isdn/hisax')
-rw-r--r--drivers/isdn/hisax/jade.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/jade.c b/drivers/isdn/hisax/jade.c
index ea8f840871d0..a06cea09158b 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);