Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 654ae152 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: algif_rng - Remove obsolete const-removal cast



Now that crypto_rng_reset takes a const argument, we no longer
need to cast away the const qualifier.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 94f1bb15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ static int rng_setkey(void *private, const u8 *seed, unsigned int seedlen)
	 * Check whether seedlen is of sufficient size is done in RNG
	 * implementations.
	 */
	return crypto_rng_reset(private, (u8 *)seed, seedlen);
	return crypto_rng_reset(private, seed, seedlen);
}

static const struct af_alg_type algif_type_rng = {