aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJason Cooper <[email protected]>2016-10-11 13:54:11 -0700
committerLinus Torvalds <[email protected]>2016-10-11 15:06:32 -0700
commit7425154d3bbf5fcc7554738cab6dfac559ffbdda (patch)
tree5860053d69fbdf15eee6de00859bcff22e6e76bf /include/linux
parent05c2679e9562f7e9ca11dacc91cf21b6c42d532d (diff)
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/[email protected] Signed-off-by: Jason Cooper <[email protected]> Acked-by: Kees Cook <[email protected]> Cc: "Theodore Ts'o" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/random.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/random.h b/include/linux/random.h
index 26741892828a..f7bb7a355cf7 100644
--- a/include/linux/random.h
+++ b/include/linux/random.h
@@ -34,7 +34,6 @@ extern const struct file_operations random_fops, urandom_fops;
unsigned int get_random_int(void);
unsigned long get_random_long(void);
-unsigned long randomize_range(unsigned long start, unsigned long end, unsigned long len);
unsigned long randomize_page(unsigned long start, unsigned long range);
u32 prandom_u32(void);