[dpdk-dev] [PATCH] net/atlantic: get rid of double declaration of dev info get

Andrew Rybchenko arybchenko at solarflare.com
Sun Sep 1 16:36:43 CEST 2019


From: Ivan Ilchenko <Ivan.Ilchenko at oktetlabs.ru>

atl_dev_info_get() is declared twice in atl_ethdev.c.
Delete one of these declararions.

Fixes: bb42aa9ffe4e ("net/atlantic: configure device start/stop")
Cc: stable at dpdk.org

Signed-off-by: Ivan Ilchenko <Ivan.Ilchenko at oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
---
 drivers/net/atlantic/atl_ethdev.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c
index 3c1b349..4a99699 100644
--- a/drivers/net/atlantic/atl_ethdev.c
+++ b/drivers/net/atlantic/atl_ethdev.c
@@ -45,9 +45,6 @@ static int atl_dev_xstats_get(struct rte_eth_dev *dev,
 static int atl_fw_version_get(struct rte_eth_dev *dev, char *fw_version,
 			      size_t fw_size);
 
-static void atl_dev_info_get(struct rte_eth_dev *dev,
-			       struct rte_eth_dev_info *dev_info);
-
 static const uint32_t *atl_dev_supported_ptypes_get(struct rte_eth_dev *dev);
 
 static int atl_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu);
-- 
1.8.3.1



More information about the dev mailing list