ethdev: remove unused forward declaration.
Checks
Commit Message
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@intel.com>
---
lib/librte_ethdev/rte_ethdev.h | 2 --
1 file changed, 2 deletions(-)
Comments
On 25.07.2018 11:30, Rami Rosen wrote:
> 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@intel.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
25/07/2018 19:52, Andrew Rybchenko:
> On 25.07.2018 11:30, Rami Rosen wrote:
> > 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@intel.com>
> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Applied, thanks
@@ -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