net/bonding: delete redundant code
authorDongyang Pan <197020236@qq.com>
Sat, 4 Jul 2020 01:15:26 +0000 (09:15 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Jul 2020 11:54:54 +0000 (13:54 +0200)
commit2db4cf9d01c5920be0397e5c7aba61779c997753
tree85886f1ec45d174e2f911440d394b447570fe3ef
parentfe82f3e0270134accaf62c9753335bbf5e3a0809
net/bonding: delete redundant code

The function valid_bonded_port_id() has already contains function
rte_eth_dev_is_valid_port(), so delete redundant check.

Fixes: 588ae95e7983 ("net/bonding: fix port ID check")
Cc: stable@dpdk.org
Signed-off-by: Dongyang Pan <197020236@qq.com>
Reviewed-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/bonding/rte_eth_bond_8023ad.c