[PATCH v5 16/34] random: vDSO: trim vDSO includes
Jason A. Donenfeld
Jason at zx2c4.com
Sat Nov 8 10:49:05 AEDT 2025
On Thu, Nov 06, 2025 at 11:02:09AM +0100, Thomas Weißschuh wrote:
> These includes are not used, remove them.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
> Tested-by: Andreas Larsson <andreas at gaisler.com>
> Reviewed-by: Andreas Larsson <andreas at gaisler.com>
> ---
> drivers/char/random.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/char/random.c b/drivers/char/random.c
> index b8b24b6ed3fe436c8102968392278d5cb5544f06..3860ddd9527930780d5c13cd4742fbc3c27acc42 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>
Signed-off-by: Jason A. Donenfeld <Jason at zx2c4.com>
More information about the Linuxppc-dev
mailing list