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)
commit7b9339125bd8bf9ef1ac6a158ccf81bee03c1483
treee8a5636f1eac272a6ca20dd6b697ea858cb3e99f
parent485cce3aa160ad36e191a8b4064c3b9579465c6e
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