Commit cb1c6168 authored by Masatake YAMATO's avatar Masatake YAMATO Committed by David S. Miller

route: remove unsed variable in __mkroute_input

flags local variable in __mkroute_input is not used as a variable.
Signed-off-by: default avatarMasatake YAMATO <yamato@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 35a256fe
...@@ -1546,7 +1546,6 @@ static int __mkroute_input(struct sk_buff *skb, ...@@ -1546,7 +1546,6 @@ static int __mkroute_input(struct sk_buff *skb,
struct rtable *rth; struct rtable *rth;
int err; int err;
struct in_device *out_dev; struct in_device *out_dev;
unsigned int flags = 0;
bool do_cache; bool do_cache;
u32 itag = 0; u32 itag = 0;
...@@ -1610,7 +1609,7 @@ static int __mkroute_input(struct sk_buff *skb, ...@@ -1610,7 +1609,7 @@ static int __mkroute_input(struct sk_buff *skb,
} }
rth->rt_genid = rt_genid_ipv4(dev_net(rth->dst.dev)); rth->rt_genid = rt_genid_ipv4(dev_net(rth->dst.dev));
rth->rt_flags = flags; rth->rt_flags = 0;
rth->rt_type = res->type; rth->rt_type = res->type;
rth->rt_is_input = 1; rth->rt_is_input = 1;
rth->rt_iif = 0; rth->rt_iif = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment