linux/random.h: Remove arch_has_random, arch_has_random_seed
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 10 Jan 2020 14:54:16 +0000 (14:54 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2022 09:46:29 +0000 (11:46 +0200)
commitcacc99ee5a9c15923a74ff6942d8710c674e51f5
tree457c16228f783b8c31d1c226ccdbfdcf5aa63324
parent596bcf5911e619da50c2174e234a0f8363c70a94
linux/random.h: Remove arch_has_random, arch_has_random_seed

commit 647f50d5d9d933b644b29c54f13ac52af1b1774d upstream.

The arm64 version of archrandom.h will need to be able to test for
support and read the random number without preemption, so a separate
query predicate is not practical.

Since this part of the generic interface is unused, remove it.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20200110145422.49141-5-broonie@kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/random.h