Skip to contentSkip to conversation

net: ipv4: remove unused arg exact_dif in compute_score

PATCH linmiaohe 1 participant 1 message Aug 31, 2020

Subsystems (2)
lore
Share & tools
lore

linmiaohe

author
#0 lore raw
Quoted 8 lines · David Ahern

Review static struct sock *inet_lhash2_lookup(struct net *net, · line 280

Quoted 5 lines · Miaohe Lin
(quoted diff) +0 -1
@@ -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_exact_dif_match(net, skb);

inet_exact_dif_match is no longer needed after the above is removed.

Oh, I missed it. Will remove inet_exact_dif_match() in v2. Many thanks for review and reply.