projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96d796a
)
ipv6: variable next is never used in this function
author
Hagen Paul Pfeifer
<hagen@jauu.net>
Fri, 25 Feb 2011 05:45:19 +0000
(
05:45
+0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 25 Feb 2011 22:00:22 +0000
(14:00 -0800)
Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c
patch
|
blob
|
history
diff --git
a/net/ipv6/route.c
b/net/ipv6/route.c
index
f786aed
..
7e9443f
100644
(file)
--- a/
net/ipv6/route.c
+++ b/
net/ipv6/route.c
@@
-1075,11
+1075,9
@@
out:
int icmp6_dst_gc(void)
{
- struct dst_entry *dst, *
next, *
*pprev;
+ struct dst_entry *dst, **pprev;
int more = 0;
- next = NULL;
-
spin_lock_bh(&icmp6_dst_lock);
pprev = &icmp6_dst_gc_list;