Re: [PATCH] crypto: cavium - Use 'hlist_for_each_entry' to simplify code

From: Herbert Xu
Date: Fri May 14 2021 - 07:35:16 EST


On Wed, Apr 28, 2021 at 09:33:37AM +0200, Christophe JAILLET wrote:
> Use 'hlist_for_each_entry' instead of hand writing it.
> This saves a few lines of code.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> Compile tested only
> ---
> drivers/crypto/cavium/cpt/cptvf_reqmanager.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt