diff options
| author | Eric Biggers <[email protected]> | 2019-01-10 12:18:01 -0800 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-01-18 18:43:43 +0800 |
| commit | 7c39edfb040078e1ab90e5c546cfeba8ec159bbd (patch) | |
| tree | ea4b76916ddcb6d17696758a7312144aeb809764 /tools/perf/scripts/python | |
| parent | 466e0759269d31485074126700574230bfff3b1c (diff) | |
crypto: af_alg - use list_for_each_entry() in af_alg_count_tsgl()
af_alg_count_tsgl() iterates through a list without modifying it, so use
list_for_each_entry() rather than list_for_each_entry_safe(). Also make
the pointers 'const' to make it clearer that nothing is modified.
No actual change in behavior.
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions