aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application_worker.c
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/vnet/session/application_worker.c
parentb3ca33ff4836eff054250c2b7a40dc778f377ea7 (diff)
session: remove unused fifo allo return value
Change-Id: I50a6bcc127e4b44becc4b694bdd3018ac9bfab5c Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/application_worker.c')
-rw-r--r--src/vnet/session/application_worker.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vnet/session/application_worker.c b/src/vnet/session/application_worker.c
index 1dae5a55a45..3cc84e84f1a 100644
--- a/src/vnet/session/application_worker.c
+++ b/src/vnet/session/application_worker.c
@@ -150,11 +150,9 @@ static int
app_worker_alloc_session_fifos (segment_manager_t * sm, session_t * s)
{
svm_fifo_t *rx_fifo = 0, *tx_fifo = 0;
- u32 fifo_segment_index;
int rv;
- if ((rv = segment_manager_alloc_session_fifos (sm, &rx_fifo, &tx_fifo,
- &fifo_segment_index)))
+ if ((rv = segment_manager_alloc_session_fifos (sm, &rx_fifo, &tx_fifo)))
return rv;
rx_fifo->master_session_index = s->session_index;