summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-02-10 16:40:44 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-25 11:49:05 +0200
commit16ec11bde38c275f6f40c7dd19f7fcb25e4a8061 (patch)
treec09e43a0e4b6d370b8743edffe5cfe04a435c9c3 /lib
parentf86bc7f7f1738c6b90f1f39ddb5473298a1f7cec (diff)
downloadlinux-stable-16ec11bde38c275f6f40c7dd19f7fcb25e4a8061.tar.gz
linux-stable-16ec11bde38c275f6f40c7dd19f7fcb25e4a8061.tar.bz2
linux-stable-16ec11bde38c275f6f40c7dd19f7fcb25e4a8061.zip
random: remove unused tracepoints
commit 14c174633f349cb41ea90c2c0aaddac157012f74 upstream. These explicit tracepoints aren't really used and show sign of aging. It's work to keep these up to date, and before I attempted to keep them up to date, they weren't up to date, which indicates that they're not really used. These days there are better ways of introspecting anyway. Cc: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net> Reviewed-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/random32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/random32.c b/lib/random32.c
index 9085b1172015..42cbb70e09d8 100644
--- a/lib/random32.c
+++ b/lib/random32.c
@@ -38,6 +38,8 @@
#include <linux/jiffies.h>
#include <linux/random.h>
#include <linux/sched.h>
+#include <linux/bitops.h>
+#include <linux/slab.h>
#include <asm/unaligned.h>
/**