net/bonding: remove socket id check
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 21 Jun 2017 05:07:32 +0000 (06:07 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 22 Jun 2017 15:46:09 +0000 (17:46 +0200)
commit8cbb35e5cf9dfa406e089316b87c62ad0dcfa735
treeb4037cf7015e8223eb58f6c658ab08d6ba742095
parentefe1d3b4ff359aa9b390d2ba9aef85d3905d688c
net/bonding: remove socket id check

Socket id parsed from the user was checked
if it was in the range of available sockets.
This check is unnecessary, as the socket specified
might not have memory anyway, so it will fail
at memory allocation.

Therefore, the best solution is to remove this check.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
drivers/net/bonding/rte_eth_bond_api.c
drivers/net/bonding/rte_eth_bond_args.c
drivers/net/bonding/rte_eth_bond_pmd.c
drivers/net/bonding/rte_eth_bond_private.h