diff options
| author | Weili Qian <[email protected]> | 2023-11-25 19:50:09 +0800 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2023-12-01 18:03:26 +0800 |
| commit | fb4ac519c6caf5fdfcc30ef838cae55dbc919e2e (patch) | |
| tree | f77deaeae866597711e462c5550814215cef7f89 /tools/perf/scripts/python | |
| parent | a9864bae1806499ebf3757a9e71dddde5b9c48c6 (diff) | |
crypto: hisilicon/sgl - small cleanups for sgl.c
1. Remove unnecessary brackets in function hisi_acc_create_sgl_pool().
2. Modify local variable type, ensure that the variable type is
consistent with the variable type to be compared.
3. Because the function clear_hw_sgl_sge() is in the task process,
obtain the value of le16_to_cpu(hw_sgl->entry_sum_in_sgl) before
loop execting to shorten the loop execution time.
Signed-off-by: Weili Qian <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions