summaryrefslogtreecommitdiffstats
path: root/crypto/keywrap.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-01-10 21:18:01 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-01-18 11:43:43 +0100
commit7c39edfb040078e1ab90e5c546cfeba8ec159bbd (patch)
treeea4b76916ddcb6d17696758a7312144aeb809764 /crypto/keywrap.c
parentcrypto: af_alg - make some functions static (diff)
downloadlinux-7c39edfb040078e1ab90e5c546cfeba8ec159bbd.tar.xz
linux-7c39edfb040078e1ab90e5c546cfeba8ec159bbd.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/keywrap.c')
0 files changed, 0 insertions, 0 deletions