aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_trie.c
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2009-05-17 21:19:12 -0400
committerDavid S. Miller <davem@davemloft.net>2009-05-18 18:16:37 -0400
commite204a345a0b11c6522ec06e62dee71628a492408 (patch)
tree7e655603670d6383c98aa478d1369bff04e0a7b5 /net/ipv4/fib_trie.c
parent450c4ea15ecb89567e6a75b89cbb8a598a7efb75 (diff)
ipv4: cleanup - remove two unused parameters from fib_semantic_match().
Signed-off-by: Rami Rosen <ramirose@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_trie.c')
-rw-r--r--net/ipv4/fib_trie.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c
index ec0ae490f0b6..9070d11058e5 100644
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -1347,8 +1347,7 @@ static int check_leaf(struct trie *t, struct leaf *l,
1347 if (l->key != (key & ntohl(mask))) 1347 if (l->key != (key & ntohl(mask)))
1348 continue; 1348 continue;
1349 1349
1350 err = fib_semantic_match(&li->falh, flp, res, 1350 err = fib_semantic_match(&li->falh, flp, res, plen);
1351 htonl(l->key), mask, plen);
1352 1351
1353#ifdef CONFIG_IP_FIB_TRIE_STATS 1352#ifdef CONFIG_IP_FIB_TRIE_STATS
1354 if (err <= 0) 1353 if (err <= 0)