session: remove support for shm bapi attachment
[vpp.git] / src / plugins / unittest / session_test.c
index c152a8a..d3a4e09 100644 (file)
@@ -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,