]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: drbg - kill useless variable in drbg_fips_continuous_test()
authorSergey Shtylyov <s.shtylyov@omp.ru>
Wed, 17 Dec 2025 20:21:43 +0000 (23:21 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 29 Dec 2025 00:48:35 +0000 (08:48 +0800)
commiteb6449aa7b32259a8b59e0c9602b32dcaf1fba58
tree0c2e76d9ca1a37e30b9c9f2a1cef2ad71d78bd87
parentb6aa86c8a50883e2eab6f8a3a9d4e08a42519410
crypto: drbg - kill useless variable in drbg_fips_continuous_test()

In drbg_fips_continuous_test(), not only the initializer of the ret local
variable is useless, the variable itself does not seem needed as it only
stores the result of memcmp() until it's checked on the next line -- get
rid of the variable...

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/drbg.c