crypto: qat - use list_for_each_entry*
authorGeliang Tang <geliangtang@163.com>
Sat, 19 Dec 2015 08:22:51 +0000 (16:22 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 22 Dec 2015 12:43:41 +0000 (20:43 +0800)
commitdc2c632272d5614b77359b24f77c0a80ddc3a962
treee4c817cee8720048ed354bdca7c342ece3c3118a
parente4ae86e22edc1647f0ee0c2ab12ec05fce17d782
crypto: qat - use list_for_each_entry*

Use list_for_each_entry*() instead of list_for_each*() to simplify
the code.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_ctl_drv.c
drivers/crypto/qat/qat_common/qat_crypto.c