From: Ferruh Yigit Date: Thu, 25 May 2017 17:52:45 +0000 (+0100) Subject: net/avp: remove redundant assignment X-Git-Tag: spdx-start~3118 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0362b7294d8e28b651924725b45a4ea20acbaff4;p=dpdk.git net/avp: remove redundant assignment dev_info->driver_name is assigned by rte_eth_dev_info_get() and existing value overwritten, removing assignment. Fixes: 1a85922369c4 ("net/avp: add device configuration") Signed-off-by: Ferruh Yigit Acked-by: Allain Legacy --- diff --git a/drivers/net/avp/avp_ethdev.c b/drivers/net/avp/avp_ethdev.c index 35546456d0..c746a0e2cc 100644 --- a/drivers/net/avp/avp_ethdev.c +++ b/drivers/net/avp/avp_ethdev.c @@ -2202,7 +2202,6 @@ avp_dev_info_get(struct rte_eth_dev *eth_dev, { struct avp_dev *avp = AVP_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private); - dev_info->driver_name = "rte_avp_pmd"; dev_info->pci_dev = RTE_ETH_DEV_TO_PCI(eth_dev); dev_info->max_rx_queues = avp->max_rx_queues; dev_info->max_tx_queues = avp->max_tx_queues;