]> git.baikalelectronics.ru Git - kernel.git/commit
prandom: remove unused functions
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 5 Oct 2022 15:50:20 +0000 (17:50 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 11 Oct 2022 23:42:58 +0000 (17:42 -0600)
commit82ab8e195cc052cf865202ad52f1a7735c0e6eac
tree5cf1cab5c03c50508900956c7a291cf3e36d4c90
parent64db072120d836b7e0ff50590b0e2768063ae919
prandom: remove unused functions

With no callers left of prandom_u32() and prandom_bytes(), as well as
get_random_int(), remove these deprecated wrappers, in favor of
get_random_u32() and get_random_bytes().

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Yury Norov <yury.norov@gmail.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
drivers/char/random.c
include/linux/prandom.h
include/linux/random.h