summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/teib/teib.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vnet/teib/teib.c b/src/vnet/teib/teib.c
index dc0c99b1dbe..2edb18c01e6 100644
--- a/src/vnet/teib/teib.c
+++ b/src/vnet/teib/teib.c
@@ -225,9 +225,6 @@ teib_entry_add (u32 sw_if_index,
.tk_sw_if_index = sw_if_index,
};
teib_entry_t *te;
- u32 fib_index;
-
- fib_index = fib_table_get_index_for_sw_if_index (nh_proto, sw_if_index);
pool_get_zero (teib_pool, te);