crypto/openssl: remove unneeded check
authorPiotr Azarewicz <piotrx.t.azarewicz@intel.com>
Mon, 9 Jan 2017 14:45:36 +0000 (15:45 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 18 Jan 2017 20:48:56 +0000 (21:48 +0100)
commit5d63ef31d8a51bb318d10c4d0ce99cc4184a6d70
tree9ad7cbdf6909d7b0328bb6464c13b1a62f63367f
parente2a7fdce6deb6de81a71cfa7c6f2245c52d8e39b
crypto/openssl: remove unneeded check

EVP_CIPHER_CTX_set_padding() function always returns 1, so the check is
unneeded.

Fixes: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library")

Signed-off-by: Piotr Azarewicz <piotrx.t.azarewicz@intel.com>
Tested-by: Zhaoyan Chen <zhaoyan.chen@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
drivers/crypto/openssl/rte_openssl_pmd.c