From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Daley Subject: [PATCH] net/enic: remove assert which causes compile error Date: Wed, 12 Oct 2016 11:09:35 -0700 Message-ID: <20161012180935.8366-1-johndale@cisco.com> References: <20161012162442.GI104428@bricha3-MOBL3> Cc: dev@dpdk.org, John Daley To: bruce.richardson@intel.com Return-path: Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) by dpdk.org (Postfix) with ESMTP id 2F9BB2E41 for ; Wed, 12 Oct 2016 20:09:38 +0200 (CEST) In-Reply-To: <20161012162442.GI104428@bricha3-MOBL3> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Remove an RTE_ASSERT which will not compile if enabled and is not needed. Fixes: a1f7c7b3b5b2 ("net/enic: extend fdir support for 1300 series adapters") Signed-off-by: John Daley --- Would have been nice if I caught this yesterday before you applied a1f7c7b3 :( drivers/net/enic/enic_clsf.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/enic/enic_clsf.c b/drivers/net/enic/enic_clsf.c index c709be9..d2413d7 100644 --- a/drivers/net/enic/enic_clsf.c +++ b/drivers/net/enic/enic_clsf.c @@ -142,8 +142,6 @@ copy_fltr_v2(struct filter_v2 *fltr, struct rte_eth_fdir_input *input, struct filter_generic_1 *gp = &fltr->u.generic_1; int i; - RTE_ASSERT(enic->adv_filters); - fltr->type = FILTER_DPDK_1; memset(gp, 0, sizeof(*gp)); -- 2.10.0