diff options
author | Zhiyong Yang <zhiyong.yang@intel.com> | 2019-04-30 05:33:53 -0400 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-05-01 07:44:25 +0000 |
commit | 1cff643c6549c6af026213267bed4a8eb25af55f (patch) | |
tree | 56557a263556a0aa1b930af7511c5d1f170d66b1 /src | |
parent | c4bbce60793b8b5101a6ce61a675de99d73ac6d8 (diff) |
esp_encrypt: remove unnecessary code
Change-Id: I2d7e873fca6ab266af75814fac5d4cb5cda93cef
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/ipsec/esp_encrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ipsec/esp_encrypt.c b/src/vnet/ipsec/esp_encrypt.c index 3aafaffe3b5..4d1aa31ea50 100644 --- a/src/vnet/ipsec/esp_encrypt.c +++ b/src/vnet/ipsec/esp_encrypt.c @@ -257,7 +257,7 @@ esp_encrypt_inline (vlib_main_t * vm, vlib_node_runtime_t * node, while (n_left > 0) { - u32 sa_index0 = vnet_buffer (b[0])->ipsec.sad_index; + u32 sa_index0; dpo_id_t *dpo; esp_header_t *esp; u8 *payload, *next_hdr_ptr; |