isdn: jade: Fix set-but-unused variables.
authorDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2011 23:41:29 +0000 (16:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Apr 2011 23:41:29 +0000 (16:41 -0700)
The variable 'i' is set but unused in JadeVersion().  Just
kill it off.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/jade.c

index ea8f840..a06cea0 100644 (file)
 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);