diff options
author | Shukun Tan <tanshukun1@huawei.com> | 2020-05-09 11:44:00 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-15 08:15:02 +0200 |
commit | b977e03005127b1cbfef05517fbedaa7c5a177a1 (patch) | |
tree | 85db38ab21d4d39b618c7df65d3ce7b54d0680b1 /drivers/crypto/hisilicon/hpre/hpre_main.c | |
parent | crypto: hisilicon - add FLR support (diff) | |
download | linux-b977e03005127b1cbfef05517fbedaa7c5a177a1.tar.xz linux-b977e03005127b1cbfef05517fbedaa7c5a177a1.zip |
crypto: hisilicon - remove use_dma_api related codes
The codes related use_dma_api is useless which should be removed.
Signed-off-by: Shukun Tan <tanshukun1@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/hpre/hpre_main.c')
-rw-r--r-- | drivers/crypto/hisilicon/hpre/hpre_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/hpre/hpre_main.c b/drivers/crypto/hisilicon/hpre/hpre_main.c index 3475b1999635..dba7b6012c5d 100644 --- a/drivers/crypto/hisilicon/hpre/hpre_main.c +++ b/drivers/crypto/hisilicon/hpre/hpre_main.c @@ -679,7 +679,6 @@ static int hpre_qm_init(struct hisi_qm *qm, struct pci_dev *pdev) qm->qp_base = HPRE_PF_DEF_Q_BASE; qm->qp_num = pf_q_num; } - qm->use_dma_api = true; return hisi_qm_init(qm); } |