Re: [PATCH] net: ipv6: remove unused arg exact_dif in compute_score

2020-08-29 Thread David Ahern
On 8/29/20 3:04 AM, Miaohe Lin wrote: > @@ -138,15 +138,13 @@ static struct sock *inet6_lhash2_lookup(struct net *net, > const __be16 sport, const struct in6_addr *daddr, > const unsigned short hnum, const int dif, const int sdif) > { > - bool exact_dif = inet6_exac

[PATCH] net: ipv6: remove unused arg exact_dif in compute_score

2020-08-29 Thread Miaohe Lin
The arg exact_dif is not used anymore, remove it. Signed-off-by: Miaohe Lin --- net/ipv6/inet6_hashtables.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/ipv6/inet6_hashtables.c b/net/ipv6/inet6_hashtables.c index 2d3add9e6116..55c290d55605 100644 --- a/net/ipv6/i