examples/ethtool: remove query of default config
authorThomas Monjalon <thomas@monjalon.net>
Wed, 13 Mar 2019 10:09:09 +0000 (11:09 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commite00a5eaab2a9bbfc0b0ddf04ac2c62fe53e2f001
tree05092b9a68cd7adfa508f3843a800b9102187837
parent5ab51dbfd4e7f14d0b0329cec33d5d545bd610bc
examples/ethtool: remove query of default config

The default config is used if the setup parameter is NULL.
No need to query the default config with rte_eth_dev_info_get().
The function call will be removed with another useless info.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Rami Rosen <ramirose@gmail.com>
examples/ethtool/ethtool-app/main.c