summaryrefslogtreecommitdiff
path: root/crypto/tea.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-01-10 12:18:01 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-01-18 18:43:43 +0800
commit3a955d63b2fd87c3029ab83b65cd24762ff9ba01 (patch)
tree7e5b2bb25a28e172884651506831a9255b17ae39 /crypto/tea.c
parent812c030f2ee8b67f02c815539abab331506baee4 (diff)
downloadlinux-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/tea.c')
0 files changed, 0 insertions, 0 deletions