diff options
author | Eric Biggers <ebiggers@google.com> | 2019-01-10 12:18:01 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-01-18 18:43:43 +0800 |
commit | 3a955d63b2fd87c3029ab83b65cd24762ff9ba01 (patch) | |
tree | 7e5b2bb25a28e172884651506831a9255b17ae39 /crypto/ecc_curve_defs.h | |
parent | 812c030f2ee8b67f02c815539abab331506baee4 (diff) | |
download | linux-crypto-3a955d63b2fd87c3029ab83b65cd24762ff9ba01.tar.gz linux-crypto-3a955d63b2fd87c3029ab83b65cd24762ff9ba01.zip |
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 <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ecc_curve_defs.h')
0 files changed, 0 insertions, 0 deletions