Skip to contentSkip to conversation

ACPI: scan: Remove unneeded header linux/nls.h

PATCH Applied Kari Argillander 2 participants 2 messages Sep 3, 2021 – Sep 7, 2021 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: scan: Remove unneeded header linux/nls.h

Code that use linux/nls.h was moved to device_sysfs.c by commit c2efefb33abf ("ACPI / scan: Move sysfs-related device code to a separate file")

Remove this include so that complier has easier times and it would be easier to grep where nls code is used.

---
 drivers/acpi/scan.c | 1 -
 1 file changed, 1 deletion(-)
drivers/acpi/scan.c +0 -1
index b24513ec3fae..5b54c80b9d32 100644
@@ -16,7 +16,6 @@
 #include <linux/signal.h>
 #include <linux/kthread.h>
 #include <linux/dmi.h>
-#include <linux/nls.h>
 #include <linux/dma-map-ops.h>
 #include <linux/platform_data/x86/apple.h>
 #include <linux/pgtable.h>
Signature · 1 line
2.30.2
maintainer Applied
#1 lore raw
Quoted 17 lines · Kari Argillander

Code that use linux/nls.h was moved to device_sysfs.c by commit c2efefb33abf ("ACPI / scan: Move sysfs-related device code to a separate file")

Remove this include so that complier has easier times and it would be easier to grep where nls code is used.

---
 drivers/acpi/scan.c | 1 -
 1 file changed, 1 deletion(-)
drivers/acpi/scan.c +0 -0
index b24513ec3fae..5b54c80b9d32 100644

drivers/acpi/scan.c

Quoted 8 lines
drivers/acpi/scan.c +0 -2
@@ -16,7 +16,6 @@
 #include <linux/signal.h>
 #include <linux/kthread.h>
 #include <linux/dmi.h>
-#include <linux/nls.h>
 #include <linux/dma-map-ops.h>
 #include <linux/platform_data/x86/apple.h>
 #include <linux/pgtable.h>
--

Applied as 5.15-rc material, thanks!