summaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec
diff options
context:
space:
mode:
authorDengfeng Liu <liudf0716@gmail.com>2023-07-13 21:25:52 +0800
committerDave Wallace <dwallacelf@gmail.com>2023-11-06 17:38:05 +0000
commit4504df795b0ffc4863b12b0d97786423d8b63562 (patch)
tree09ceaa0b6ff69bd3c4c799662c59a1af5a93ae28 /src/vnet/ipsec
parent505f4e1db1c0c4cc934b1206be283e88d47af0fe (diff)
ipsec: delete redundant code
Type: fix Change-Id: I0de1c51455b0d3958c75ab5626a318ac656adbe7 Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
Diffstat (limited to 'src/vnet/ipsec')
-rw-r--r--src/vnet/ipsec/ipsec_spd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vnet/ipsec/ipsec_spd.c b/src/vnet/ipsec/ipsec_spd.c
index 5d5d521dd72..080497ae888 100644
--- a/src/vnet/ipsec/ipsec_spd.c
+++ b/src/vnet/ipsec/ipsec_spd.c
@@ -165,9 +165,6 @@ ipsec_add_del_spd (vlib_main_t * vm, u32 spd_id, int is_add)
pool_max_len (im->fp_ip6_lookup_hashes_pool))
{
clib_bihash_40_8_t *bihash_table;
- ipsec_spd_fp_t *fp_spd = &spd->fp_spd;
-
- fp_spd->name6_out = format (0, "spd_%u_fp_ip6_out", spd_id);
fp_spd->name6_out = format (0, "spd_%u_fp_ip6_out", spd_id);
pool_get (im->fp_ip6_lookup_hashes_pool, bihash_table);
@@ -185,7 +182,6 @@ ipsec_add_del_spd (vlib_main_t * vm, u32 spd_id, int is_add)
pool_max_len (im->fp_ip6_lookup_hashes_pool))
{
clib_bihash_40_8_t *bihash_table;
- ipsec_spd_fp_t *fp_spd = &spd->fp_spd;
fp_spd->name6_in = format (0, "spd_%u_fp_ip6_in", spd_id);
pool_get (im->fp_ip6_lookup_hashes_pool, bihash_table);