commit | abfa2b377f752a13e6caaa8c6c4add6ab9b71ba8 | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | Fri Nov 03 11:58:23 2017 -0500 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Nov 06 14:45:35 2017 +0800 |
tree | 75ba237b102727776f9a86dd607913323b2b1d7f | |
parent | 9c9034464860707669e91ce367c9eeb65e4175cd [diff] |
crypto: chcr - Replace _manual_ swap with swap macro Make use of the swap macro and remove unnecessary variable temp. This makes the code easier to read and maintain. This code was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>