crypto: qat - remove unnecessary tests to detect PFVF support
authorMarco Chiappero <marco.chiappero@intel.com>
Thu, 7 Apr 2022 16:54:45 +0000 (17:54 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Apr 2022 08:34:26 +0000 (16:34 +0800)
commitf9f8f2b7415705448118102764076504c0850082
treee8a5636f1eac272a6ca20dd6b697ea858cb3e99f
parent80280aeb2d51140f61ebd88343cd30daf22b4dc2
crypto: qat - remove unnecessary tests to detect PFVF support

Previously, the GEN4 host driver supported SR-IOV but had no working
implementation of the PFVF protocol to communicate with VF drivers.
Since all the host drivers for QAT devices now support both SR-IOV and
PFVF, remove the old and unnecessary checks to test PFVF support.

Signed-off-by: Marco Chiappero <marco.chiappero@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_sriov.c