[dpdk-dev] [PATCH] ethdev: remove unused forward declaration.

Rami Rosen rami.rosen at intel.com
Wed Jul 25 10:30:04 CEST 2018


The forward declaraion of rte_pci_device in rte_ethdev.h
is not needed anymore.
Fixes: cd8c7c7ce241 ("replace bus specific struct with generic dev")

Signed-off-by: Rami Rosen <rami.rosen at intel.com>
---
 lib/librte_ethdev/rte_ethdev.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index f5f593b..b146dc6 100644
--- a/lib/librte_ethdev/rte_ethdev.h
+++ b/lib/librte_ethdev/rte_ethdev.h
@@ -964,8 +964,6 @@ struct rte_eth_conf {
  * mentioned in rte_tx_offload_names in rte_ethdev.c file.
  */
 
-struct rte_pci_device;
-
 /*
  * Fallback default preferred Rx/Tx port parameters.
  * These are used if an application requests default parameters
-- 
1.9.1



More information about the dev mailing list