summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWeili Qian <qianweili@huawei.com>2022-04-16 12:45:58 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2022-04-21 11:53:56 +0200
commit7982996c5b0812cbf7846deff0e2f5dcbf290129 (patch)
treed6803e2233fc7b681a193e5bf509769fb8f3e6be /include
parentcrypto: hisilicon/qm - set function with static (diff)
downloadlinux-7982996c5b0812cbf7846deff0e2f5dcbf290129.tar.xz
linux-7982996c5b0812cbf7846deff0e2f5dcbf290129.zip
crypto: hisilicon/qm - replace hisi_qm_release_qp() with hisi_qm_free_qps()
hisi_qm_free_qps() can release multiple queues in one call, and it is already exported. So, replace hisi_qm_release_qp() with hisi_qm_free_qps() in zip_crypto.c, and do not export hisi_qm_release_qp() outside qm.c. Signed-off-by: Weili Qian <qianweili@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
-rw-r--r--include/linux/hisi_acc_qm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/hisi_acc_qm.h b/include/linux/hisi_acc_qm.h
index e99b286b50bc..d2ccb11071c5 100644
--- a/include/linux/hisi_acc_qm.h
+++ b/include/linux/hisi_acc_qm.h
@@ -447,7 +447,6 @@ int hisi_qm_start(struct hisi_qm *qm);
int hisi_qm_stop(struct hisi_qm *qm, enum qm_stop_reason r);
int hisi_qm_start_qp(struct hisi_qp *qp, unsigned long arg);
int hisi_qm_stop_qp(struct hisi_qp *qp);
-void hisi_qm_release_qp(struct hisi_qp *qp);
int hisi_qp_send(struct hisi_qp *qp, const void *msg);
int hisi_qm_get_free_qp_num(struct hisi_qm *qm);
void hisi_qm_debug_init(struct hisi_qm *qm);