aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/ipfix-export/flow_api.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/ipfix-export/flow_api.c b/src/vnet/ipfix-export/flow_api.c
index 4a9b525ac67..0b287335bbf 100644
--- a/src/vnet/ipfix-export/flow_api.c
+++ b/src/vnet/ipfix-export/flow_api.c
@@ -107,8 +107,6 @@ vl_api_set_ipfix_exporter_t_internal (
if (pool_elts (frm->exporters) >= IPFIX_EXPORTERS_MAX)
return VNET_API_ERROR_INVALID_VALUE;
pool_get (frm->exporters, exp);
- if (!exp)
- return VNET_API_ERROR_INVALID_VALUE;
}
}
else