[PATCH] x86/boot/compressed: Remove unused header includes from kaslr.c
From: Borislav Petkov (AMD)
Date: Sat Nov 30 2024 - 07:27:07 EST
Nothing is using the linux/ namespace headers anymore. Remove them.
Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
---
I'm really surprised how nothing really needs those includes anymore - at
least my couple of 100 randbuilds all pass.
arch/x86/boot/compressed/kaslr.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/x86/boot/compressed/kaslr.c b/arch/x86/boot/compressed/kaslr.c
index f4d82379bf44..f03d59ea6e40 100644
--- a/arch/x86/boot/compressed/kaslr.c
+++ b/arch/x86/boot/compressed/kaslr.c
@@ -25,10 +25,6 @@
#include "efi.h"
#include <generated/compile.h>
-#include <linux/module.h>
-#include <linux/uts.h>
-#include <linux/utsname.h>
-#include <linux/ctype.h>
#include <generated/utsversion.h>
#include <generated/utsrelease.h>
--
2.43.0
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette