diff options
author | Simon Zhang <yuwei1.zhang@intel.com> | 2019-08-25 15:30:45 +0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-08-29 12:35:14 +0000 |
commit | e7eba48937c52478d3844745ebb63a4b9ce8d681 (patch) | |
tree | bde0a1b7f11853962ceba8b48b6335860e145203 /src/vnet/fib | |
parent | 71f36067ca923fa4eb10060d6f6878f5fa864673 (diff) |
ip: remove unused function parameter
Type: refactor
Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com>
Change-Id: I8674ff5f6f6336b256b7df8187afbb36ddef71fb
Diffstat (limited to 'src/vnet/fib')
-rw-r--r-- | src/vnet/fib/ip6_fib.c | 2 | ||||
-rw-r--r-- | src/vnet/fib/ip6_fib.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/vnet/fib/ip6_fib.c b/src/vnet/fib/ip6_fib.c index ba90c5ff1d3..cecfcbd1560 100644 --- a/src/vnet/fib/ip6_fib.c +++ b/src/vnet/fib/ip6_fib.c @@ -319,7 +319,7 @@ u32 ip6_fib_table_fwding_lookup_with_if_index (ip6_main_t * im, const ip6_address_t * dst) { u32 fib_index = vec_elt (im->fib_index_by_sw_if_index, sw_if_index); - return ip6_fib_table_fwding_lookup(im, fib_index, dst); + return ip6_fib_table_fwding_lookup(fib_index, dst); } u32 diff --git a/src/vnet/fib/ip6_fib.h b/src/vnet/fib/ip6_fib.h index 583a17f01b8..50b360bcd12 100644 --- a/src/vnet/fib/ip6_fib.h +++ b/src/vnet/fib/ip6_fib.h @@ -64,8 +64,7 @@ extern void ip6_fib_table_walk(u32 fib_index, void *ctx); always_inline u32 -ip6_fib_table_fwding_lookup (ip6_main_t * im, - u32 fib_index, +ip6_fib_table_fwding_lookup (u32 fib_index, const ip6_address_t * dst) { ip6_fib_table_instance_t *table; |