crypto: cpt - Use 'hlist_for_each_entry' to simplify code
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 28 Apr 2021 07:33:37 +0000 (09:33 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 14 May 2021 11:07:55 +0000 (19:07 +0800)
commitfa8edbb630ae9ef99d4ab570a16f01c3c39d9a86
tree4d97fd02859379a378f15a5628204f3917f5c161
parentc8671c7dc7d51125ab9f651697866bf4a9132277
crypto: cpt - Use 'hlist_for_each_entry' to simplify code

Use 'hlist_for_each_entry' instead of hand writing it.
This saves a few lines of code.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/cavium/cpt/cptvf_reqmanager.c