From 0362b7294d8e28b651924725b45a4ea20acbaff4 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Thu, 25 May 2017 18:52:45 +0100 Subject: [PATCH] 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 --- drivers/net/avp/avp_ethdev.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.20.1