Skip to content

Commit

Permalink
route: remove unsed variable in __mkroute_input
Browse files Browse the repository at this point in the history
flags local variable in __mkroute_input is not used as a variable.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Masatake YAMATO authored and David S. Miller committed Jul 10, 2015
1 parent 35a256f commit cb1c616
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/ipv4/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -1546,7 +1546,6 @@ static int __mkroute_input(struct sk_buff *skb,
struct rtable *rth;
int err;
struct in_device *out_dev;
unsigned int flags = 0;
bool do_cache;
u32 itag = 0;

Expand Down Expand Up @@ -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_flags = flags;
rth->rt_flags = 0;
rth->rt_type = res->type;
rth->rt_is_input = 1;
rth->rt_iif = 0;
Expand Down

0 comments on commit cb1c616

Please sign in to comment.