]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
random: remove unused get_random_var_wait functions
authorEric Biggers <ebiggers@kernel.org>
Sun, 2 Nov 2025 04:19:41 +0000 (21:19 -0700)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sun, 2 Nov 2025 12:40:13 +0000 (13:40 +0100)
commit933ecf591275e850a46b28c6016d2688b92e23f6
tree0d682e1b72b270ef867774992e86e3d65b3cfa2d
parentaba5f969f886d298c7fc777538a12b52095203ab
random: remove unused get_random_var_wait functions

None of these functions are used, so remove them.

This renders the two bugs moot:

- get_random_u64_wait() used the wrong pointer type, making it provide
  only 32 bits.

- The '#undef' directive used the wrong identifier, leaving the helper
  macro defined.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
include/linux/random.h