From 7f9f46d6cef5b03681a3935b9a18378e08ca6f62 Mon Sep 17 00:00:00 2001 From: Xiaolong Ye Date: Thu, 16 May 2019 15:28:56 +0800 Subject: [PATCH] ring: remove unnecessary forward declaration As memzone.h is introduced by commit 38c9817ee1d8 ("mempool: adjust name size in related data types"), forward declaration for rte_memzone is no longer needed. Signed-off-by: Xiaolong Ye Acked-by: Olivier Matz --- lib/librte_ring/rte_ring.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/librte_ring/rte_ring.h b/lib/librte_ring/rte_ring.h index e265e94790..e5a175cb39 100644 --- a/lib/librte_ring/rte_ring.h +++ b/lib/librte_ring/rte_ring.h @@ -61,8 +61,6 @@ enum rte_ring_queue_behavior { #define RTE_RING_NAMESIZE (RTE_MEMZONE_NAMESIZE - \ sizeof(RTE_RING_MZ_PREFIX) + 1) -struct rte_memzone; /* forward declaration, so as not to require memzone.h */ - /* structure to hold a pair of head/tail values and other metadata */ struct rte_ring_headtail { volatile uint32_t head; /**< Prod/consumer head. */ -- 2.20.1