diff options
author | David S. Miller <davem@davemloft.net> | 2009-11-11 21:53:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-11 21:53:00 -0500 |
commit | 434a8a58d75faa7170807a7ac2fcf7f3d85a0dc3 (patch) | |
tree | 68af2ec95629ca48e8a4f2fd995ce70fa98475e4 /net/ipv6 | |
parent | ddd21046e7b5e112b5a4722b7e071ae9d4c96a2b (diff) |
ipv6: Remove unused var in inet6_dump_ifinfo()
Reported by Stephen Rothwell:
--------------------
Today's linux-next build (x86_64 allmodconfig) produced this warning:
net/ipv6/addrconf.c: In function 'inet6_dump_ifinfo':
net/ipv6/addrconf.c:3833: warning: unused variable 'err'
Introduced by commit 84d2697d9649339215675551eae28ba04068dea1 ("ipv6:
speedup inet6_dump_ifinfo()").
--------------------
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/addrconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 0ab39fedd2dc..9ff8ab9a1549 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -3830,7 +3830,7 @@ static int inet6_dump_ifinfo(struct sk_buff *skb, struct netlink_callback *cb) | |||
3830 | { | 3830 | { |
3831 | struct net *net = sock_net(skb->sk); | 3831 | struct net *net = sock_net(skb->sk); |
3832 | int h, s_h; | 3832 | int h, s_h; |
3833 | int idx = 0, err, s_idx; | 3833 | int idx = 0, s_idx; |
3834 | struct net_device *dev; | 3834 | struct net_device *dev; |
3835 | struct inet6_dev *idev; | 3835 | struct inet6_dev *idev; |
3836 | struct hlist_head *head; | 3836 | struct hlist_head *head; |