summaryrefslogtreecommitdiffstats
path: root/src/vnet/dpo/dvr_dpo.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-07-19 20:42:08 +0200
committerDamjan Marion <dmarion@me.com>2018-07-19 22:31:11 +0000
commit7d98a12f29d5b9696df98b8af2f128614a4f0360 (patch)
tree8d78626e0e482e4a004bc6a8fe573a7f0c0defc4 /src/vnet/dpo/dvr_dpo.c
parent3d0fadc01fa92664b8ebc5d8400b6344ee7e92df (diff)
Remove unused argument to vlib_feature_next
Change-Id: Ieb8b53977fc8484c19780941e232ee072b667de3 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/dpo/dvr_dpo.c')
-rw-r--r--src/vnet/dpo/dvr_dpo.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/vnet/dpo/dvr_dpo.c b/src/vnet/dpo/dvr_dpo.c
index 39a8a631ebd..4b440f81c59 100644
--- a/src/vnet/dpo/dvr_dpo.c
+++ b/src/vnet/dpo/dvr_dpo.c
@@ -473,14 +473,12 @@ dvr_reinject_inline (vlib_main_t * vm,
if (b0->flags & VNET_BUFFER_F_IS_DVR)
next0 = DVR_REINJECT_OUTPUT;
else
- vnet_feature_next(vnet_buffer(b0)->sw_if_index[VLIB_TX],
- &next0, b0);
+ vnet_feature_next( &next0, b0);
if (b1->flags & VNET_BUFFER_F_IS_DVR)
next1 = DVR_REINJECT_OUTPUT;
else
- vnet_feature_next(vnet_buffer(b1)->sw_if_index[VLIB_TX],
- &next1, b1);
+ vnet_feature_next( &next1, b1);
if (PREDICT_FALSE(b0->flags & VLIB_BUFFER_IS_TRACED))
{
@@ -520,8 +518,7 @@ dvr_reinject_inline (vlib_main_t * vm,
if (b0->flags & VNET_BUFFER_F_IS_DVR)
next0 = DVR_REINJECT_OUTPUT;
else
- vnet_feature_next(vnet_buffer(b0)->sw_if_index[VLIB_TX],
- &next0, b0);
+ vnet_feature_next( &next0, b0);
if (PREDICT_FALSE(b0->flags & VLIB_BUFFER_IS_TRACED))
{