diff options
author | Tadeusz Struk <tadeusz.struk@intel.com> | 2016-03-29 10:21:07 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-05 20:35:54 +0800 |
commit | f1420ceef3011547323733e3bb4fcb4aca3fe840 (patch) | |
tree | 3885d28f7d133645161988ba7bbe62ea8b2e7906 /drivers/crypto/qat/qat_c3xxxvf | |
parent | cb00bca42f8b819498b2647f24b6148d65ec9aa4 (diff) | |
download | op-kernel-dev-f1420ceef3011547323733e3bb4fcb4aca3fe840.zip op-kernel-dev-f1420ceef3011547323733e3bb4fcb4aca3fe840.tar.gz |
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_c3xxxvf')
-rw-r--r-- | drivers/crypto/qat/qat_c3xxxvf/adf_drv.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/qat/qat_c3xxxvf/adf_drv.c b/drivers/crypto/qat/qat_c3xxxvf/adf_drv.c index 1ac4ae9..a998981 100644 --- a/drivers/crypto/qat/qat_c3xxxvf/adf_drv.c +++ b/drivers/crypto/qat/qat_c3xxxvf/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); |