mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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 84d2697d96
("ipv6:
speedup inet6_dump_ifinfo()").
--------------------
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ddd21046e7
commit
434a8a58d7
1 changed files with 1 additions and 1 deletions
|
@ -3830,7 +3830,7 @@ static int inet6_dump_ifinfo(struct sk_buff *skb, struct netlink_callback *cb)
|
|||
{
|
||||
struct net *net = sock_net(skb->sk);
|
||||
int h, s_h;
|
||||
int idx = 0, err, s_idx;
|
||||
int idx = 0, s_idx;
|
||||
struct net_device *dev;
|
||||
struct inet6_dev *idev;
|
||||
struct hlist_head *head;
|
||||
|
|
Loading…
Reference in a new issue