mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
ANDROID: net: ipv6: remove unused variable ifindex in
Remove unused variable "ifindex" in rt6_get_route_info(). "ifindex" is not used anymore, dev->ifindex is used directly instead. Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
This commit is contained in:
@@ -2341,7 +2341,6 @@ static struct rt6_info *rt6_get_route_info(struct net *net,
|
|||||||
struct net_device *dev)
|
struct net_device *dev)
|
||||||
{
|
{
|
||||||
u32 tb_id = l3mdev_fib_table(dev) ? : addrconf_rt_table(dev, RT6_TABLE_INFO);
|
u32 tb_id = l3mdev_fib_table(dev) ? : addrconf_rt_table(dev, RT6_TABLE_INFO);
|
||||||
int ifindex = dev->ifindex;
|
|
||||||
struct fib6_node *fn;
|
struct fib6_node *fn;
|
||||||
struct rt6_info *rt = NULL;
|
struct rt6_info *rt = NULL;
|
||||||
struct fib6_table *table;
|
struct fib6_table *table;
|
||||||
|
|||||||
Reference in New Issue
Block a user