* [PATCH] x86/boot/compressed: Remove unused header includes from kaslr.c
@ 2024-11-30 12:26 Borislav Petkov (AMD)
2024-12-02 16:58 ` [tip: x86/cleanups] " tip-bot2 for Borislav Petkov (AMD)
0 siblings, 1 reply; 2+ messages in thread
From: Borislav Petkov (AMD) @ 2024-11-30 12:26 UTC (permalink / raw)
To: x86-ml; +Cc: lkml
Nothing is using the linux/ namespace headers anymore. Remove them.
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
---
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-02 16:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-30 12:26 [PATCH] x86/boot/compressed: Remove unused header includes from kaslr.c Borislav Petkov (AMD)
2024-12-02 16:58 ` [tip: x86/cleanups] " tip-bot2 for Borislav Petkov (AMD)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®