From: Thomas Monjalon Date: Tue, 19 Apr 2016 19:49:03 +0000 (+0200) Subject: lib: remove poisoned flags X-Git-Tag: spdx-start~6995 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=cca231e048f634e13024aee5d80c4896a3c84fa8;p=dpdk.git lib: remove poisoned flags Some flags were poisoned after having been removed from EAL and mbuf in releases 1.8 (b10eef348d, 62814bc2e9) and 2.0 (4769bc5a27cc). After several releases, they have probably disappeared from all applications going to upgrade to DPDK 16.07. Signed-off-by: Thomas Monjalon Acked-by: David Marchand --- diff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h index 9f2301dd18..8fa2712016 100644 --- a/lib/librte_eal/common/include/rte_pci.h +++ b/lib/librte_eal/common/include/rte_pci.h @@ -213,8 +213,6 @@ struct rte_pci_driver { /** Device needs PCI BAR mapping (done with either IGB_UIO or VFIO) */ #define RTE_PCI_DRV_NEED_MAPPING 0x0001 -/** Device driver must be registered several times until failure - deprecated */ -#pragma GCC poison RTE_PCI_DRV_MULTIPLE /** Device needs to be unbound even if no module is provided */ #define RTE_PCI_DRV_FORCE_UNBIND 0x0004 /** Device driver supports link state interrupt */ diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 75a227d8e2..451921f8f7 100644 --- a/lib/librte_mbuf/rte_mbuf.h +++ b/lib/librte_mbuf/rte_mbuf.h @@ -65,10 +65,6 @@ extern "C" { #endif -/* deprecated options */ -#pragma GCC poison RTE_MBUF_SCATTER_GATHER -#pragma GCC poison RTE_MBUF_REFCNT - /* * Packet Offload Features Flags. It also carry packet type information. * Critical resources. Both rx/tx shared these bits. Be cautious on any change