Skip to contentSkip to conversation

x86/early_printk: Drop unused headers

PATCH Applied Andy Shevchenko 2 participants 2 messages Mar 26, 2020 – Apr 17, 2020 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/early_printk: Drop unused headers

After the commit 1bd187de5364
("x86, intel-mid: remove Intel MID specific serial support") the Intel MID header is not needed anymore.

After the commit 69c1f396f25b
("efi/x86: Convert x86 EFI earlyprintk into generic earlycon implementation") the EFI headers are not needed anymore.

---
 arch/x86/kernel/early_printk.c | 3 ---
 1 file changed, 3 deletions(-)
arch/x86/kernel/early_printk.c +0 -3
index 9b33904251a9..93fbdff2974f 100644
@@ -15,12 +15,9 @@
 #include <xen/hvc-console.h>
 #include <asm/pci-direct.h>
 #include <asm/fixmap.h>
-#include <asm/intel-mid.h>
 #include <asm/pgtable.h>
 #include <linux/usb/ehci_def.h>
 #include <linux/usb/xhci-dbgp.h>
-#include <linux/efi.h>
-#include <asm/efi.h>
 #include <asm/pci_x86.h>
 
 /* Simple VGA output */
Signature · 1 line
2.25.1
#1 lore raw

[tip: x86/cleanups] x86/early_printk: Remove unused includes

The following commit has been merged into the x86/cleanups branch of tip:

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     968e6147fcc5862096863980298f3ec4ae5742eb
Gitweb:        https://git.kernel.org/tip/968e6147fcc5862096863980298f3ec4ae5742eb
Author:        Andy Shevchenko <[email protected]>
AuthorDate:    Thu, 26 Mar 2020 19:54:15 +02:00
Committer:     Borislav Petkov <[email protected]>
CommitterDate: Fri, 17 Apr 2020 19:54:35 +02:00

x86/early_printk: Remove unused includes

After

1bd187de5364 ("x86, intel-mid: remove Intel MID specific serial support")

the Intel MID header is not needed anymore.

After

69c1f396f25b ("efi/x86: Convert x86 EFI earlyprintk into generic earlycon implementation")

the EFI headers are not needed anymore.

Remove the respective includes.

---
 arch/x86/kernel/early_printk.c | 3 ---
 1 file changed, 3 deletions(-)
arch/x86/kernel/early_printk.c +0 -3
index 9b33904..93fbdff 100644
@@ -15,12 +15,9 @@
 #include <xen/hvc-console.h>
 #include <asm/pci-direct.h>
 #include <asm/fixmap.h>
-#include <asm/intel-mid.h>
 #include <asm/pgtable.h>
 #include <linux/usb/ehci_def.h>
 #include <linux/usb/xhci-dbgp.h>
-#include <linux/efi.h>
-#include <asm/efi.h>
 #include <asm/pci_x86.h>
 
 /* Simple VGA output */