summaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-18 01:41:29 +0200
committerDavid S. Miller <davem@davemloft.net>2011-04-18 01:41:29 +0200
commitf6f0e4a7a343f85dd773f6f18e553933c4367e96 (patch)
tree608adafda9ffd57b4ce4ad7cb4a5d25a6c32335c /drivers/isdn
parentisdn: ipacx: Fix set-but-unused variables. (diff)
downloadlinux-f6f0e4a7a343f85dd773f6f18e553933c4367e96.tar.xz
linux-f6f0e4a7a343f85dd773f6f18e553933c4367e96.zip
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')
-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);