diff options
author | David S. Miller <davem@davemloft.net> | 2011-03-10 17:01:16 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-10 17:03:45 -0800 |
commit | 1b7fe59322bef9e7a2c05b64a07a66b875299736 (patch) | |
tree | 1e3a1ca9931e41a7bf6bdec0ddbabe1f6c466b02 /net | |
parent | ff3fccb3d05756ec9fb44350b059d31a5e8e0fdc (diff) | |
download | linux-stable-1b7fe59322bef9e7a2c05b64a07a66b875299736.tar.gz linux-stable-1b7fe59322bef9e7a2c05b64a07a66b875299736.tar.bz2 linux-stable-1b7fe59322bef9e7a2c05b64a07a66b875299736.zip |
ipv4: Kill flowi arg to fib_select_multipath()
Completely unused.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/fib_semantics.c | 2 | ||||
-rw-r--r-- | net/ipv4/route.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c index d73d7581b51f..b5d523b911e6 100644 --- a/net/ipv4/fib_semantics.c +++ b/net/ipv4/fib_semantics.c @@ -1210,7 +1210,7 @@ int fib_sync_up(struct net_device *dev) * The algorithm is suboptimal, but it provides really * fair weighted route distribution. */ -void fib_select_multipath(const struct flowi *flp, struct fib_result *res) +void fib_select_multipath(struct fib_result *res) { struct fib_info *fi = res->fi; int w; diff --git a/net/ipv4/route.c b/net/ipv4/route.c index a7ac90cb151d..9c17e32d5623 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -2048,7 +2048,7 @@ static int ip_mkroute_input(struct sk_buff *skb, #ifdef CONFIG_IP_ROUTE_MULTIPATH if (res->fi && res->fi->fib_nhs > 1) - fib_select_multipath(fl, res); + fib_select_multipath(res); #endif /* create a routing cache entry */ @@ -2598,7 +2598,7 @@ static struct rtable *ip_route_output_slow(struct net *net, #ifdef CONFIG_IP_ROUTE_MULTIPATH if (res.fi->fib_nhs > 1 && fl.oif == 0) - fib_select_multipath(&fl, &res); + fib_select_multipath(&res); else #endif if (!res.prefixlen && res.type == RTN_UNICAST && !fl.oif) |