projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50a7c11
)
isdn: i4l: isdn_net: Fix set-but-unused variables.
author
David S. Miller
<davem@davemloft.net>
Sun, 17 Apr 2011 23:46:50 +0000
(16:46 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 17 Apr 2011 23:46:50 +0000
(16:46 -0700)
The variable 'unused' is set but unused in
isdn_net_ciscohdlck_slarp_in(). Just kill it off.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/i4l/isdn_net.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/isdn/i4l/isdn_net.c
b/drivers/isdn/i4l/isdn_net.c
index 2a7d17c194894ff472ce9d173bb59bc89b528420..97988111e45a9e8659c8c41ba2a8d31d953d9ff1 100644
(file)
--- a/
drivers/isdn/i4l/isdn_net.c
+++ b/
drivers/isdn/i4l/isdn_net.c
@@
-1678,7
+1678,6
@@
isdn_net_ciscohdlck_slarp_in(isdn_net_local *lp, struct sk_buff *skb)
u32 your_seq;
__be32 local;
__be32 *addr, *mask;
- u16 unused;
if (skb->len < 14)
return;
@@
-1722,7
+1721,6
@@
isdn_net_ciscohdlck_slarp_in(isdn_net_local *lp, struct sk_buff *skb)
lp->cisco_last_slarp_in = jiffies;
my_seq = be32_to_cpup((__be32 *)(p + 0));
your_seq = be32_to_cpup((__be32 *)(p + 4));
- unused = be16_to_cpup((__be16 *)(p + 8));
p += 10;
lp->cisco_yourseq = my_seq;
lp->cisco_mineseen = your_seq;