]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: rmd320 - use swap macro in rmd320_transform
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 18 Jul 2018 17:19:08 +0000 (12:19 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Jul 2018 11:28:36 +0000 (19:28 +0800)
commitb38cc717cc45ac763a31b83c4c96d3ca8b5f2d4f
tree7c4c6284b97348d251637cdbb9dc16cf505082bf
parente478b25977890f83c1b2e87d5d9222aaed1b0482
crypto: rmd320 - use swap macro in rmd320_transform

Make use of the swap macro and remove unnecessary variable *tmp*.
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 <gustavo@embeddedor.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/rmd320.c