diff options
author | Simon Zhang <yuwei1.zhang@intel.com> | 2019-08-25 15:30:45 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-09-27 16:54:02 +0000 |
commit | 6cf2fde9bb1dda74f8dcc2d96a17d6875cc1c9db (patch) | |
tree | 7008e62d49e29b319e8c561348ecb437f2a67140 /src/vnet/fib | |
parent | 7f85aecb5c481fda75e4c87a7d80a1fd47f07046 (diff) |
ip: remove unused function parameter
Type: refactor
Signed-off-by: Simon Zhang <yuwei1.zhang@intel.com>
Change-Id: I8674ff5f6f6336b256b7df8187afbb36ddef71fb
(cherry picked from commit e7eba48937c52478d3844745ebb63a4b9ce8d681)
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; |