net/atlantic: remove double function declaration
authorIvan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Sun, 1 Sep 2019 14:36:43 +0000 (15:36 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Sep 2019 16:19:50 +0000 (18:19 +0200)
atl_dev_info_get() is declared twice in atl_ethdev.c.
Delete one of these declarations.

Fixes: bb42aa9ffe4e ("net/atlantic: configure device start/stop")
Cc: stable@dpdk.org
Signed-off-by: Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Igor Russkikh <igor.russkikh@aquantia.com>
drivers/net/atlantic/atl_ethdev.c

index 3c1b349..4a99699 100644 (file)
@@ -45,9 +45,6 @@ static void atl_dev_stats_reset(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);