crypto: qat - remove unnecessary list iteration
authorBruce Allan <[email protected]>
Mon, 27 Jul 2015 19:58:32 +0000 (12:58 -0700)
committerHerbert Xu <[email protected]>
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 <[email protected]>
Signed-off-by: Tadeusz Struk <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
drivers/crypto/qat/qat_common/adf_dev_mgr.c