crypto: talitos - Simplify per-channel initialization
authorMartin Hicks <mort@bork.org>
Tue, 3 Mar 2015 13:21:33 +0000 (08:21 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 6 Mar 2015 11:51:27 +0000 (22:51 +1100)
commitf641ddddc3ad139a91b9a1f9cea84ea657f75a6b
tree03cb5319ffc07cf8c5d257f72bc4a34d8ff6e8db
parent37821da088d090d8e152f3f8cc072948fa544e5a
crypto: talitos - Simplify per-channel initialization

There were multiple loops in a row, for each separate step of the
initialization of the channels.  Simplify to a single loop.

Signed-off-by: Martin Hicks <mort@bork.org>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c