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)
commit7425154d3bbf5fcc7554738cab6dfac559ffbdda
tree5860053d69fbdf15eee6de00859bcff22e6e76bf
parent05c2679e9562f7e9ca11dacc91cf21b6c42d532d
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