The patch to check return value of rte_eth_dev_info_get
added a duplicate call in one spot.

Fixes: 773392553bed ("app: check status of getting ethdev info")
Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
 app/test/test_link_bonding_rssconf.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app/test/test_link_bonding_rssconf.c 
b/app/test/test_link_bonding_rssconf.c
index 3c9c824335..2cb689b1de 100644
--- a/app/test/test_link_bonding_rssconf.c
+++ b/app/test/test_link_bonding_rssconf.c
@@ -616,7 +616,6 @@ test_setup(void)
                mac_addr.addr_bytes[5] = 0x10 + port->port_id;
                rte_eth_dev_default_mac_addr_set(port->port_id, &mac_addr);
 
-               rte_eth_dev_info_get(port->port_id, &port->dev_info);
                retval = rte_eth_dev_info_get(port->port_id, &port->dev_info);
                TEST_ASSERT((retval == 0),
                                "Error during getting device (port %u) info: 
%s\n",
-- 
2.45.2

Reply via email to