summaryrefslogtreecommitdiff
path: root/drivers/crypto/qat/qat_common/adf_sriov.c
diff options
context:
space:
mode:
authorTadeusz Struk <tadeusz.struk@intel.com>2016-03-29 20:21:07 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-05 15:35:54 +0300
commitf1420ceef3011547323733e3bb4fcb4aca3fe840 (patch)
tree3885d28f7d133645161988ba7bbe62ea8b2e7906 /drivers/crypto/qat/qat_common/adf_sriov.c
parentcb00bca42f8b819498b2647f24b6148d65ec9aa4 (diff)
downloadlinux-f1420ceef3011547323733e3bb4fcb4aca3fe840.tar.xz
crypto: qat - changed adf_dev_stop to void
It returns always zero anyway. Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_common/adf_sriov.c')
-rw-r--r--drivers/crypto/qat/qat_common/adf_sriov.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/crypto/qat/qat_common/adf_sriov.c b/drivers/crypto/qat/qat_common/adf_sriov.c
index 1117a8b58280..4479b0b63296 100644
--- a/drivers/crypto/qat/qat_common/adf_sriov.c
+++ b/drivers/crypto/qat/qat_common/adf_sriov.c
@@ -259,13 +259,7 @@ int adf_sriov_configure(struct pci_dev *pdev, int numvfs)
return -EBUSY;
}
- if (adf_dev_stop(accel_dev)) {
- dev_err(&GET_DEV(accel_dev),
- "Failed to stop qat_dev%d\n",
- accel_dev->accel_id);
- return -EFAULT;
- }
-
+ adf_dev_stop(accel_dev);
adf_dev_shutdown(accel_dev);
}