aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/span/node.c
diff options
context:
space:
mode:
authorPavel Kotucek <pkotucek@cisco.com>2017-03-10 10:03:59 +0100
committerOle Trøan <otroan@employees.org>2017-03-10 11:32:24 +0000
commit78053e164fbb75c014126a3deff440f165504582 (patch)
tree441cbb7e9caecfe3227297ae9e4929a78881a615 /src/vnet/span/node.c
parentb69259a55d6ae4a0133eaa725edfea246d905f8b (diff)
Fix coverity CIDs 161048, 163895
Change-Id: Ic206601413bb366e2a920daf00524e92a47287ef Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
Diffstat (limited to 'src/vnet/span/node.c')
-rw-r--r--src/vnet/span/node.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/span/node.c b/src/vnet/span/node.c
index eb69c39c917..2a43b6e3f1a 100644
--- a/src/vnet/span/node.c
+++ b/src/vnet/span/node.c
@@ -69,8 +69,6 @@ span_mirror (vlib_main_t * vm, vlib_node_runtime_t * node, u32 sw_if_index0,
u32 i;
si0 = vec_elt_at_index (sm->interfaces, sw_if_index0);
- if (!si0)
- return;
if (is_rx != 0 && si0->num_rx_mirror_ports == 0)
return;