ethdev: remove redundant device info cleanup before get
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 12 Sep 2019 16:42:12 +0000 (17:42 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 20 Sep 2019 08:19:42 +0000 (10:19 +0200)
commit78402e16ec08db79a2e380466ff41dd939541265
treed1018be43b620873773b960836303186dcc55e1f
parent2c0784eb8872d86c51d6af15b8eb0fe81cdd86bd
ethdev: remove redundant device info cleanup before get

rte_eth_dev_info_get() always fills in device information memory
with zeros on entry.

Fixes: b6719879855d ("ethdev: avoid getting uninitialized info for bad port")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c
examples/ethtool/lib/rte_ethtool.c
examples/kni/main.c