cryptodev: remove socket id check
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 21 Jun 2017 05:07:30 +0000 (06:07 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 22 Jun 2017 15:45:37 +0000 (17:45 +0200)
commit804f169c246f37662780b0463f49b053034b89a6
tree7cf86aead142f6d3b05d23931ead6de21ac7b093
parent3566af6be7f968c678a867399ddc644fb762873b
cryptodev: 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>
lib/librte_cryptodev/rte_cryptodev.c