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 ea8f840871d0ed81eadbf79a84e3d16417025b2d..a06cea09158b06e141e050707c6824c9ee01201d 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);