crypto: qat - remove unnecessary list iteration
authorBruce Allan <bruce.w.allan@intel.com>
Mon, 27 Jul 2015 19:58:32 +0000 (12:58 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 28 Jul 2015 07:03:35 +0000 (15:03 +0800)
commitcaa8c508494c5de3ea70b44804abfd003f6b0107
tree1f62cf506c3709a0d3e4848cdb3873e1be7ddd01
parent0c5f0aa5dd92a36a2c6491695abcb95196b88ef6
crypto: qat - remove unnecessary list iteration

There's no need to iterate through the list for instances in the
accel_table since the number of devices is already known in this file.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_dev_mgr.c