]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: rmd256 - use swap macro in rmd256_transform
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 18 Jul 2018 17:12:00 +0000 (12:12 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Jul 2018 11:28:36 +0000 (19:28 +0800)
commite478b25977890f83c1b2e87d5d9222aaed1b0482
treecb67569e7aec4cacc7868e93db118af3f5f8c099
parent70ee894e5c14756f3661243033b72bb20633a787
crypto: rmd256 - use swap macro in rmd256_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/rmd256.c