test/bonding: remove socket id check
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 21 Jun 2017 05:07:33 +0000 (06:07 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 22 Jun 2017 15:46:12 +0000 (17:46 +0200)
commit13916d5e7c5230adc069e4c70a2554fc3491d5c3
tree6ae130b47dc96f7317d914dffb0bd3495859877d
parent8cbb35e5cf9dfa406e089316b87c62ad0dcfa735
test/bonding: remove socket id check

When creating a virtual pmd to test link bonding,
the socket id 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>
test/test/virtual_pmd.c