From: Bruce Richardson Date: Thu, 23 Feb 2017 16:41:59 +0000 (+0000) Subject: app/pdump: fix duplicate macro definition X-Git-Tag: spdx-start~4439 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=40f1806e233e009d69635eabe6b06f9c9512df7c;p=dpdk.git app/pdump: fix duplicate macro definition RTE_RING_SZ_MASK is redefined here with the original definition in rte_ring.h. Since rte_ring.h is already included, just remove the duplicate definition here. Fixes: caa7028276b8 ("app/pdump: add tool for packet capturing") Signed-off-by: Bruce Richardson --- diff --git a/app/pdump/main.c b/app/pdump/main.c index f3ef181ff1..b88090d1c5 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)