]> 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)
commit0bf5231f346524bdff178c0d0905f1d86932f692
tree5860053d69fbdf15eee6de00859bcff22e6e76bf
parent5b36a6a81a7986e97e57a397e1f977252e7e6c86
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