mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-15 01:57:32 +07:00
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>
This commit is contained in:
parent
d462003ddb
commit
f6f0e4a7a3
@ -23,10 +23,9 @@
|
|||||||
int
|
int
|
||||||
JadeVersion(struct IsdnCardState *cs, char *s)
|
JadeVersion(struct IsdnCardState *cs, char *s)
|
||||||
{
|
{
|
||||||
int ver,i;
|
int ver;
|
||||||
int to = 50;
|
int to = 50;
|
||||||
cs->BC_Write_Reg(cs, -1, 0x50, 0x19);
|
cs->BC_Write_Reg(cs, -1, 0x50, 0x19);
|
||||||
i=0;
|
|
||||||
while (to) {
|
while (to) {
|
||||||
udelay(1);
|
udelay(1);
|
||||||
ver = cs->BC_Read_Reg(cs, -1, 0x60);
|
ver = cs->BC_Read_Reg(cs, -1, 0x60);
|
||||||
|
Loading…
Reference in New Issue
Block a user