diff options
author | Tadeusz Struk <tadeusz.struk@intel.com> | 2016-03-29 19:21:07 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-05 14:35:54 +0200 |
commit | f1420ceef3011547323733e3bb4fcb4aca3fe840 (patch) | |
tree | 3885d28f7d133645161988ba7bbe62ea8b2e7906 /drivers/crypto/qat/qat_c62xvf | |
parent | crypto: qat - explicitly stop all VFs first (diff) | |
download | linux-f1420ceef3011547323733e3bb4fcb4aca3fe840.tar.xz linux-f1420ceef3011547323733e3bb4fcb4aca3fe840.zip |
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_c62xvf')
-rw-r--r-- | drivers/crypto/qat/qat_c62xvf/adf_drv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/qat/qat_c62xvf/adf_drv.c b/drivers/crypto/qat/qat_c62xvf/adf_drv.c index d2e4b928f3be..ccfb25e8a4a1 100644 --- a/drivers/crypto/qat/qat_c62xvf/adf_drv.c +++ b/drivers/crypto/qat/qat_c62xvf/adf_drv.c @@ -270,9 +270,7 @@ static void adf_remove(struct pci_dev *pdev) pr_err("QAT: Driver removal failed\n"); return; } - if (adf_dev_stop(accel_dev)) - dev_err(&GET_DEV(accel_dev), "Failed to stop QAT accel dev\n"); - + adf_dev_stop(accel_dev); adf_dev_shutdown(accel_dev); adf_cleanup_accel(accel_dev); adf_cleanup_pci_dev(accel_dev); |