Skip to content

Commit

Permalink
ipv6: variable next is never used in this function
Browse files Browse the repository at this point in the history
Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Hagen Paul Pfeifer authored and David S. Miller committed Feb 25, 2011
1 parent 96d796a commit e9476e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -1075,11 +1075,9 @@ struct dst_entry *icmp6_dst_alloc(struct net_device *dev,

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;

Expand Down

0 comments on commit e9476e9

Please sign in to comment.