summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2020-12-14 09:54:03 +0000
committerNeale Ranns <nranns@cisco.com>2020-12-18 08:22:17 +0000
commit44cae547370cc49fbc65127aad6d4f5211716383 (patch)
treea99cf6fa41c6871f2b40ba728af1e822d1041eff
parent5f9a5c70edd11e90a27a795d953e06606424d4de (diff)
fib: Remove unused FIB path-list DB variable
Type: refactor Signed-off-by: Neale Ranns <neale.ranns@cisco.com> Change-Id: I64527e9f5259e9984dc1e90023b367ee0fd8deeb
-rw-r--r--src/vnet/fib/fib_path_list.c5
-rw-r--r--src/vnet/fib/fib_path_list.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/vnet/fib/fib_path_list.c b/src/vnet/fib/fib_path_list.c
index 184399aa309..15d480cb43d 100644
--- a/src/vnet/fib/fib_path_list.c
+++ b/src/vnet/fib/fib_path_list.c
@@ -62,11 +62,6 @@ typedef struct fib_path_list_t_ {
* the RPF list calculated for this path list
*/
fib_node_index_t fpl_urpf;
-
- /**
- * Hash table of paths. valid only with INDEXED flag
- */
- uword *fpl_db;
} fib_path_list_t;
/*
diff --git a/src/vnet/fib/fib_path_list.h b/src/vnet/fib/fib_path_list.h
index 4ed57138b20..6ed251fa1bb 100644
--- a/src/vnet/fib/fib_path_list.h
+++ b/src/vnet/fib/fib_path_list.h
@@ -203,8 +203,6 @@ extern void fib_path_list_walk_w_ext(fib_node_index_t pl_index,
extern void fib_path_list_module_init(void);
-extern void fib_path_list_module_init(void);
-
/*
* functions for testing.
*/