Skip to content

Commit

Permalink
net/atlantic: remove double function declaration
Browse files Browse the repository at this point in the history
[ upstream commit 5fdd611 ]

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

Fixes: bb42aa9 ("net/atlantic: configure device start/stop")

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>
  • Loading branch information
ol-vanyaio authored and kevintraynor committed Nov 21, 2019
1 parent 403ef11 commit dba3230
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/atlantic/atl_ethdev.c
Expand Up @@ -43,9 +43,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);
Expand Down

0 comments on commit dba3230

Please sign in to comment.