aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-04-23 15:53:43 -0700
committerDamjan Marion <dmarion@me.com>2019-04-24 11:31:02 +0000
commit1219b2d071a273acbdbfb14a050bb3e275c0dd03 (patch)
tree1ddb08470c36897417d768efc7b9b5cd7bb179e4 /src/plugins/unittest
parentb3ca33ff4836eff054250c2b7a40dc778f377ea7 (diff)
session: remove unused fifo allo return value
Change-Id: I50a6bcc127e4b44becc4b694bdd3018ac9bfab5c Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/plugins/unittest')
-rw-r--r--src/plugins/unittest/session_test.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/unittest/session_test.c b/src/plugins/unittest/session_test.c
index 542be604e5b..948ea62e798 100644
--- a/src/plugins/unittest/session_test.c
+++ b/src/plugins/unittest/session_test.c
@@ -1746,7 +1746,6 @@ session_test_mq (vlib_main_t * vm, unformat_input_t * input)
vl_api_registration_t *reg;
struct epoll_event ep_evt;
u32 app_index, api_index;
- u32 fifo_segment_index;
app_worker_t *app_wrk;
segment_manager_t *sm;
svm_msg_q_msg_t msg;
@@ -1812,8 +1811,7 @@ session_test_mq (vlib_main_t * vm, unformat_input_t * input)
}
sm = app_worker_get_or_alloc_connect_segment_manager (app_wrk);
- segment_manager_alloc_session_fifos (sm, &rx_fifo, &tx_fifo,
- &fifo_segment_index);
+ segment_manager_alloc_session_fifos (sm, &rx_fifo, &tx_fifo);
s.rx_fifo = rx_fifo;
s.tx_fifo = tx_fifo;
s.session_state = SESSION_STATE_READY;