Modify or delete improper comments in uadk/sec module.
Signed-off-by: Qi Tao taoqi10@huawei.com --- wd_digest.c | 2 +- wd_util.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/wd_digest.c b/wd_digest.c index 2307bf1..bc67878 100644 --- a/wd_digest.c +++ b/wd_digest.c @@ -131,7 +131,7 @@ int wd_digest_set_key(handle_t h_sess, const __u8 *key, __u32 key_len) int ret;
if (!key || !sess) { - WD_ERR("failed to check key param!\n"); + WD_ERR("invalid: failed to check input param, sess or key is NULL!\n"); return -WD_EINVAL; }
diff --git a/wd_util.c b/wd_util.c index bfa3af0..409a8c8 100644 --- a/wd_util.c +++ b/wd_util.c @@ -408,7 +408,6 @@ void wd_uninit_async_request_pool(struct wd_async_msg_pool *pool) pool->pool_num = 0; }
-/* fix me: this is old wd_get_req_from_pool */ void *wd_find_msg_in_pool(struct wd_async_msg_pool *pool, int ctx_idx, __u32 tag) { @@ -1344,7 +1343,6 @@ static struct async_task_queue *find_async_queue(struct wd_env_config *config, return head + offset; }
-/* fix me: all return value here, and no config input */ int wd_add_task_to_async_queue(struct wd_env_config *config, __u32 idx) { struct async_task_queue *task_queue;