diff options
author | Kai Ji <kai.ji@intel.com> | 2024-03-28 17:21:37 +0000 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2024-03-30 18:54:15 +0000 |
commit | 0cbd623d723513e501c1ca5f6f085341d6643d3c (patch) | |
tree | 9058f7f93f678559a60da697678490eeef8adc3c | |
parent | 7a18b0f0a5507a1fcb72e031b23bec2fe51e9c14 (diff) |
ipsec: fix clang compile issue
Type: fix
Change-Id: Ic015b37e18a43c49c3fb3dbff284a17fa2c5fd99
Signed-off-by: Fan Zhang <fanzhang.oss@gmail.com>
Signed-off-by: Kai Ji <kai.ji@intel.com>
-rw-r--r-- | src/vnet/ipsec/esp_decrypt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vnet/ipsec/esp_decrypt.c b/src/vnet/ipsec/esp_decrypt.c index 94f3204b51f..26d8ca1deee 100644 --- a/src/vnet/ipsec/esp_decrypt.c +++ b/src/vnet/ipsec/esp_decrypt.c @@ -1093,7 +1093,6 @@ esp_decrypt_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *bufs[VLIB_FRAME_SIZE], **b = bufs; vlib_buffer_t *sync_bufs[VLIB_FRAME_SIZE]; u16 sync_nexts[VLIB_FRAME_SIZE], *sync_next = sync_nexts, n_sync = 0; - u16 async_nexts[VLIB_FRAME_SIZE], *async_next = async_nexts; u16 noop_nexts[VLIB_FRAME_SIZE], n_noop = 0; u32 sync_bi[VLIB_FRAME_SIZE]; u32 noop_bi[VLIB_FRAME_SIZE]; @@ -1305,8 +1304,6 @@ esp_decrypt_inline (vlib_main_t *vm, vlib_node_runtime_t *node, pd += 1; pd2 += 1; } - else - async_next++; n_left -= 1; b += 1; |