summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2020-12-10 08:51:24 +0000
committerNeale Ranns <nranns@cisco.com>2020-12-11 08:11:45 +0000
commita705f7171b0248a828a8871e56d72af7a1ac8221 (patch)
tree5e0b5df6710febc65322008811d84774b9281859 /src/vnet
parentddba67054a587c9c8c504b2b115530b6cff89cbe (diff)
fib: Remove unused BIER variables
Type: refactor Signed-off-by: Neale Ranns <neale.ranns@cisco.com> Change-Id: Idf17c3c02fb77fcadf69a9164abd4da35289aaed
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/fib/fib_path.c16
-rw-r--r--src/vnet/fib/fib_types.h16
2 files changed, 10 insertions, 22 deletions
diff --git a/src/vnet/fib/fib_path.c b/src/vnet/fib/fib_path.c
index 2a4e6ab551f..8fd2b40a94b 100644
--- a/src/vnet/fib/fib_path.c
+++ b/src/vnet/fib/fib_path.c
@@ -272,16 +272,10 @@ typedef struct fib_path_t_ {
mpls_eos_bit_t fp_eos;
};
} fp_nh;
- union {
- /**
- * The FIB table index in which to find the next-hop.
- */
- fib_node_index_t fp_tbl_id;
- /**
- * The BIER FIB the fmask is in
- */
- index_t fp_bier_fib;
- };
+ /**
+ * The FIB table index in which to find the next-hop.
+ */
+ fib_node_index_t fp_tbl_id;
} recursive;
struct {
/**
@@ -359,7 +353,7 @@ typedef struct fib_path_t_ {
STRUCT_MARK(path_hash_end);
/**
- * Memebers in this last section represent information that is
+ * Members in this last section represent information that is
* dervied during resolution. It should not be copied to new paths
* nor compared.
*/
diff --git a/src/vnet/fib/fib_types.h b/src/vnet/fib/fib_types.h
index b5a58e7b674..18362e0965d 100644
--- a/src/vnet/fib/fib_types.h
+++ b/src/vnet/fib/fib_types.h
@@ -549,17 +549,11 @@ typedef struct fib_route_path_t_ {
*/
fib_rpf_id_t frp_rpf_id;
- union {
- /**
- * The FIB index to lookup the nexthop
- * Only valid for recursive paths.
- */
- u32 frp_fib_index;
- /**
- * The BIER table to resolve the fmask in
- */
- u32 frp_bier_fib_index;
- };
+ /**
+ * The FIB index to lookup the nexthop
+ * Only valid for recursive paths.
+ */
+ u32 frp_fib_index;
/**
* The outgoing MPLS label Stack. NULL implies no label.
*/