From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: [RFC PATCH 08/11] app/pdump: remove duplicate macro definition Date: Wed, 11 Jan 2017 15:05:22 +0000 Message-ID: <1484147125-5948-9-git-send-email-bruce.richardson@intel.com> References: <1484147125-5948-1-git-send-email-bruce.richardson@intel.com> Cc: dev@dpdk.org, Bruce Richardson To: olivier.matz@6wind.com Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id C3239F926 for ; Wed, 11 Jan 2017 16:06:12 +0100 (CET) In-Reply-To: <1484147125-5948-1-git-send-email-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The ring size macro from rte_ring.h is duplicated in pdump. Remove it. Signed-off-by: Bruce Richardson --- app/pdump/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/app/pdump/main.c b/app/pdump/main.c index f3ef181..b88090d 100644 --- a/app/pdump/main.c +++ b/app/pdump/main.c @@ -92,7 +92,6 @@ #define BURST_SIZE 32 #define NUM_VDEVS 2 -#define RTE_RING_SZ_MASK (unsigned)(0x0fffffff) /**< Ring size mask */ /* true if x is a power of 2 */ #define POWEROF2(x) ((((x)-1) & (x)) == 0) -- 2.9.3