From: Mohsin Kazmi Date: Thu, 10 Mar 2022 16:47:51 +0000 (+0100) Subject: ipsec: remove the redundant code X-Git-Tag: v22.10-rc0~295 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=562cfa407560fc8783d3b645c30cf01873a4d11e;p=vpp.git ipsec: remove the redundant code Type: refactor Change-Id: I0a40e22e1439e13ffdbcbd6fd7cad40c8178418c Signed-off-by: Mohsin Kazmi --- diff --git a/src/vnet/ipsec/esp_encrypt.c b/src/vnet/ipsec/esp_encrypt.c index 7fa5ec98c29..9d3a835699f 100644 --- a/src/vnet/ipsec/esp_encrypt.c +++ b/src/vnet/ipsec/esp_encrypt.c @@ -1006,7 +1006,6 @@ esp_encrypt_inline (vlib_main_t *vm, vlib_node_runtime_t *node, { tr->sa_index = sa_index0; tr->spi = sa0->spi; - tr->spi = sa0->spi; tr->seq = sa0->seq; tr->sa_seq_hi = sa0->seq_hi; tr->udp_encap = ipsec_sa_is_set_UDP_ENCAP (sa0);