diff options
author | Tadeusz Struk <tadeusz.struk@intel.com> | 2016-03-29 20:21:07 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-05 15:35:54 +0300 |
commit | f1420ceef3011547323733e3bb4fcb4aca3fe840 (patch) | |
tree | 3885d28f7d133645161988ba7bbe62ea8b2e7906 /drivers/crypto/qat/qat_c3xxx | |
parent | cb00bca42f8b819498b2647f24b6148d65ec9aa4 (diff) | |
download | linux-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_c3xxx')
-rw-r--r-- | drivers/crypto/qat/qat_c3xxx/adf_drv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/qat/qat_c3xxx/adf_drv.c b/drivers/crypto/qat/qat_c3xxx/adf_drv.c index e13bd08ddd1e..640c3fc870fd 100644 --- a/drivers/crypto/qat/qat_c3xxx/adf_drv.c +++ b/drivers/crypto/qat/qat_c3xxx/adf_drv.c @@ -300,9 +300,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_disable_aer(accel_dev); adf_cleanup_accel(accel_dev); |