feature: remove unused code
[vpp.git] / src / plugins / marvell / pp2 / input.c
index 44f0135..106148d 100644 (file)
@@ -218,8 +218,8 @@ mrvl_pp2_device_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
            {
              n_rx_bytes += mrvl_pp2_next_from_desc (node, d, b0, &next0);
              n_rx_bytes += mrvl_pp2_next_from_desc (node, d + 1, b1, &next1);
-             vnet_feature_start_device_input_x2 (ppif->sw_if_index, &next0,
-                                                 &next1, b0, b1);
+             vnet_feature_start_device_input (ppif->sw_if_index, &next0, b0);
+             vnet_feature_start_device_input (ppif->sw_if_index, &next1, b1);
            }
          else
            {
@@ -262,8 +262,7 @@ mrvl_pp2_device_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
          if (PREDICT_TRUE (ppif->per_interface_next_index == ~0))
            {
              n_rx_bytes += mrvl_pp2_next_from_desc (node, d, b0, &next0);
-             vnet_feature_start_device_input_x1 (ppif->sw_if_index, &next0,
-                                                 b0);
+             vnet_feature_start_device_input (ppif->sw_if_index, &next0, b0);
            }
          else
            {