projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d462003
)
isdn: jade: Fix set-but-unused variables.
author
David S. Miller
<davem@davemloft.net>
Sun, 17 Apr 2011 23:41:29 +0000
(16:41 -0700)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/isdn/hisax/jade.c
b/drivers/isdn/hisax/jade.c
index ea8f840871d0ed81eadbf79a84e3d16417025b2d..a06cea09158b06e141e050707c6824c9ee01201d 100644
(file)
--- 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);