From: Uros Bizjak Date: Mon, 30 Sep 2024 12:33:29 +0000 (+0200) Subject: random: Do not include in X-Git-Tag: v6.13-rc1~195^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5b3fdc9f2ff10d3cee106ddaa0ee6636c7de381e;p=thirdparty%2Fkernel%2Flinux.git random: Do not include in Files that use prandom infrastructure are now converted to use header instead of . Remove the legacy inclusion of from . This is the "nice cleanup" part, wished in c0842fbc1b18. Signed-off-by: Uros Bizjak Fixes: c0842fbc1b18 ("random32: move the pseudo-random 32-bit definitions to prandom.h") Cc: Theodore Ts'o Cc: Jason A. Donenfeld Cc: Linus Torvalds Signed-off-by: Jason A. Donenfeld --- diff --git a/include/linux/random.h b/include/linux/random.h index b0a940af4fff5..333cecfca93fd 100644 --- a/include/linux/random.h +++ b/include/linux/random.h @@ -145,13 +145,6 @@ declare_get_random_var_wait(u64, u32) declare_get_random_var_wait(long, unsigned long) #undef declare_get_random_var -/* - * This is designed to be standalone for just prandom - * users, but for now we include it from - * for legacy reasons. - */ -#include - #ifdef CONFIG_SMP int random_prepare_cpu(unsigned int cpu); int random_online_cpu(unsigned int cpu);