From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=817; q=dns/txt; s=iport; t=1476295778; x=1477505378; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=+Rg46H2W8D8agB2/zoACaIwr0WaP+CsOwZ7+kfGDUkA=; b=RXOC0uDRyjO77eQuBOgUpd9uusywHbYvT7/KHnWLhzyMzgi2Z2NS6sNz JeXl3LzL8Qiuz5EhbGXOE8siIagxAULoav5Q5JcQLLrVXvv4xj8YVgJmw 7bZrDVJUMkmZFlbePatD3CTl5+RlzjjU6TL+4PehRLoFBR2wfmZcWGacT E=; X-IronPort-AV: E=Sophos;i="5.31,336,1473120000"; d="scan'208";a="159033937" Received: from alln-core-11.cisco.com ([173.36.13.133]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 12 Oct 2016 18:09:37 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by alln-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id u9CI9bUN028585; Wed, 12 Oct 2016 18:09:37 GMT Received: by cisco.com (Postfix, from userid 392789) id 0B1B23FAAE47; Wed, 12 Oct 2016 11:09:37 -0700 (PDT) From: John Daley To: bruce.richardson@intel.com Cc: dev@dpdk.org, John Daley Date: Wed, 12 Oct 2016 11:09:35 -0700 Message-Id: <20161012180935.8366-1-johndale@cisco.com> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20161012162442.GI104428@bricha3-MOBL3> References: <20161012162442.GI104428@bricha3-MOBL3> Subject: [dpdk-dev] [PATCH] net/enic: remove assert which causes compile error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2016 18:09:38 -0000 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