[PATCH 14/15] random: vDSO: trim vDSO includes

From
Thomas Weißschuh <hidden>
Date
2026-01-14 08:01:53
Also in
linux-arm-kernel, linux-mips, lkml, loongarch
Reply to
Thomas Weißschuh, 2026-01-14
These includes are not used, remove them.

Signed-off-by: Thomas Weißschuh <redacted>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
---
 drivers/char/random.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/drivers/char/random.c b/drivers/char/random.c
index bab03c7c4194..c5122ff33594 100644
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -57,9 +57,7 @@
 #include <crypto/chacha.h>
 #include <crypto/blake2s.h>
 #ifdef CONFIG_VDSO_GETRANDOM
-#include <vdso/getrandom.h>
 #include <vdso/datapage.h>
-#include <vdso/vsyscall.h>
 #endif
 #include <asm/archrandom.h>
 #include <asm/processor.h>
-- 
2.52.0

Thread (20 messages) 20 messages, 3 authors, last reply 2026-02-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help