commit: e26726: digest: fix codecheck warning Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com> (cherry picked from commit f6221f178fe43735fe56d45ae8d030dd949b3a23)
32 lines
818 B
Diff
32 lines
818 B
Diff
From ca59dfa548656d82d6d50a6dad6bfc88b2825473 Mon Sep 17 00:00:00 2001
|
|
From: Kai Ye <yekai13@huawei.com>
|
|
Date: Thu, 6 Jan 2022 14:49:27 +0800
|
|
Subject: [PATCH 13/18] digest: modify the process of free session
|
|
|
|
Currently, release the session in the cleanup instead of final. so not
|
|
should free session in the final. Here is fix it.
|
|
|
|
Signed-off-by: Kai Ye <yekai13@huawei.com>
|
|
---
|
|
src/uadk_digest.c | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
diff --git a/src/uadk_digest.c b/src/uadk_digest.c
|
|
index 41de449..cbfb539 100644
|
|
--- a/src/uadk_digest.c
|
|
+++ b/src/uadk_digest.c
|
|
@@ -688,10 +688,6 @@ sync_err:
|
|
ret = uadk_e_digest_soft_work(priv, priv->tail, digest);
|
|
clear:
|
|
async_clear_async_event_notification();
|
|
- if (priv->sess) {
|
|
- wd_digest_free_sess(priv->sess);
|
|
- priv->sess = 0;
|
|
- }
|
|
return ret;
|
|
}
|
|
|
|
--
|
|
2.24.4
|
|
|