]> git.baikalelectronics.ru Git - kernel.git/commit
random: remove unused randomize_range()
authorJason Cooper <jason@lakedaemon.net>
Tue, 11 Oct 2016 20:54:11 +0000 (13:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 11 Oct 2016 22:06:32 +0000 (15:06 -0700)
commitdc1ae518200584bef66583388733353eaf5ac829
tree5860053d69fbdf15eee6de00859bcff22e6e76bf
parent1b376ce258e79673f9940de2afd512f594f8a03d
random: remove unused randomize_range()

All call sites for randomize_range have been updated to use the much
simpler and more robust randomize_addr().  Remove the now unnecessary
code.

Link: http://lkml.kernel.org/r/20160803233913.32511-8-jason@lakedaemon.net
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/random.c
include/linux/random.h