net: ipv4: remove fib_info arg to fib_check_nh
Subsystems (3)
PATCH 1/1 net: ipv4: remove fib_info arg to fib_check_nh
fib_check_nh does not use the fib_info arg; remove t.
Signed-off-by David Ahern <[email protected]>
--- net/ipv4/fib_semantics.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
net/ipv4/fib_semantics.c +3 -3
@@ -774,8 +774,8 @@ bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi)* | * |-> {local prefix} (terminal node) */ -static int fib_check_nh (struct fib_config *cfg,struct fib_info *fi, -struct fib_nh *nh,struct netlink_ext_ack *extack) +static int fib_check_nh (struct fib_config *cfg,struct fib_nh *nh, +struct netlink_ext_ack *extack) {int err =0 ;struct net *net;
@@ -1258,7 +1258,7 @@ struct fib_info *fib_create_info(struct fib_config *cfg,int linkdown =0 ;change_nexthops (fi) { - err =fib_check_nh (cfg, fi, nexthop_nh, extack); + err =fib_check_nh (cfg, nexthop_nh, extack);if (err !=0 ) goto failure;if (nexthop_nh->nh_flags &RTNH_F_LINKDOWN )
Signature · 1 line
2.1.4
From: David Ahern <[email protected]>
Date: Wed, 27 Sep 2017 20:41:59 -0700
Quoted 3 lines
fib_check_nhdoes not use thefib_infoarg; remove t.Signed-off-by David Ahern <[email protected]>
Applied.
Hello!
Quoted 1 line · David Ahern
fib_check_nhdoes not use thefib_infoarg; remove t.
s/t/it/. :-)
Quoted 1 line
Signed-off-by David Ahern <[email protected]>
[...]
MBR, Sergei