From: Xiaolong Ye Date: Thu, 16 May 2019 07:28:56 +0000 (+0800) Subject: ring: remove unnecessary forward declaration X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7f9f46d6cef5b03681a3935b9a18378e08ca6f62;p=dpdk.git 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 --- 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. */