diff options
author | John Stultz <john.stultz@linaro.org> | 2017-01-20 16:52:44 -0800 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2017-01-26 10:54:59 -0800 |
commit | 030f654171726fe60f112995ea9a73d32b628f07 (patch) | |
tree | 48b70df9ecd161a9b4027a78523161cf4daadcd4 | |
parent | 09f00cf9f1dda11ef7841206463f921b3e800155 (diff) | |
download | hikey-clang-030f654171726fe60f112995ea9a73d32b628f07.tar.gz |
net: ipv6: route: Fix build warning
Signed-off-by: John Stultz <john.stultz@linaro.org>
-rw-r--r-- | net/ipv6/route.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 89ab3dc9dbe2..b245f6fa4ecf 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -2341,7 +2341,6 @@ static struct rt6_info *rt6_get_route_info(struct net *net, struct net_device *dev) { u32 tb_id = l3mdev_fib_table(dev) ? : addrconf_rt_table(dev, RT6_TABLE_INFO); - int ifindex = dev->ifindex; struct fib6_node *fn; struct rt6_info *rt = NULL; struct fib6_table *table; |