From 8173863865cb4c0a669ad6c870a6b3f220f0edba Mon Sep 17 00:00:00 2001 From: Jasvinder Singh Date: Thu, 29 Mar 2018 19:31:31 +0100 Subject: [PATCH] table: remove incorrect check for ACL Remove wrong check for table entry pointer. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- lib/librte_table/rte_table_acl.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/librte_table/rte_table_acl.c b/lib/librte_table/rte_table_acl.c index 73d3910e96..14d54019f0 100644 --- a/lib/librte_table/rte_table_acl.c +++ b/lib/librte_table/rte_table_acl.c @@ -472,12 +472,6 @@ rte_table_acl_entry_add_bulk( return -EINVAL; } - if (entries_ptr[i] == NULL) { - RTE_LOG(ERR, TABLE, "%s: entries_ptr[%" PRIu32 "] parameter is NULL\n", - __func__, i); - return -EINVAL; - } - rule = keys[i]; if (rule->priority > RTE_ACL_MAX_PRIORITY) { RTE_LOG(ERR, TABLE, "%s: Priority is too high\n", __func__); -- 2.20.1