isdn: jade: Fix set-but-unused variables.
Subsystems (2)
David Miller
maintainerPATCH 23/42 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 <[email protected]>
--- drivers/isdn/hisax/jade.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/isdn/hisax/jade.c +1 -2
@@ -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 );
Signature · 1 line
1.7.4.3