aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest/session_test.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-11-08 16:50:39 -0800
committerDave Barach <openvpp@barachs.net>2020-11-09 21:09:05 +0000
commit6c10ab22e9ae1b5b2e086d74a5267f0bc33a0c57 (patch)
treef554cd3726675de9ea3799857aafc5cfe9338c75 /src/plugins/unittest/session_test.c
parent85866e782c0e8d49b2fbc5f8fdf77065f1efae14 (diff)
session: remove support for shm bapi attachment
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I21bda0c46406aff54ad8fe5e44491e8e332de170
Diffstat (limited to 'src/plugins/unittest/session_test.c')
-rw-r--r--src/plugins/unittest/session_test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/unittest/session_test.c b/src/plugins/unittest/session_test.c
index c152a8ac9da..d3a4e091647 100644
--- a/src/plugins/unittest/session_test.c
+++ b/src/plugins/unittest/session_test.c
@@ -1821,8 +1821,6 @@ session_test_mq_speed (vlib_main_t * vm, unformat_input_t * input)
/* Shut up coverity */
if (reg == 0)
abort ();
- if (!session_main.evt_qs_use_memfd_seg)
- reg->clib_file_index = VL_API_INVALID_FI;
vnet_app_attach_args_t attach_args = {
.api_client_index = api_index,