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

2020-08-30 Thread linmiaohe
David Ahern wrote: >On 8/29/20 3:01 AM, Miaohe Lin wrote: >> @@ -277,15 +277,13 @@ static struct sock *inet_lhash2_lookup(struct net *net, >> const __be32 daddr, const unsigned short hnum, >> const int dif, const int sdif) >> { >> -boo

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

2020-08-29 Thread David Ahern
On 8/29/20 3:01 AM, Miaohe Lin wrote: > @@ -277,15 +277,13 @@ static struct sock *inet_lhash2_lookup(struct net *net, > const __be32 daddr, const unsigned short hnum, > const int dif, const int sdif) > { > - bool exact_dif = inet_exac

[PATCH] net: ipv4: 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/ipv4/inet_hashtables.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/ipv4/inet_hashtables.c b/net/ipv4/inet_hashtables.c index 239e54474b65..8cbe74313f38 100644 --- a/net/ipv4/inet