diff mbox series

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

Message ID 20210903210633.277807-1-kari.argillander@gmail.com
State Accepted
Commit 66e0aeaa8bae6d464f7bcd2767c10c8c84658362
Headers show
Series ACPI: scan: Remove unneeded header linux/nls.h | expand

Commit Message

Kari Argillander Sept. 3, 2021, 9:06 p.m. UTC
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.

Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
---
 drivers/acpi/scan.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Rafael J. Wysocki Sept. 7, 2021, 7:14 p.m. UTC | #1
On Fri, Sep 3, 2021 at 11:07 PM Kari Argillander
<kari.argillander@gmail.com> wrote:
>

> 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.

>

> Signed-off-by: Kari Argillander <kari.argillander@gmail.com>

> ---

>  drivers/acpi/scan.c | 1 -

>  1 file changed, 1 deletion(-)

>

> diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c

> index b24513ec3fae..5b54c80b9d32 100644

> --- a/drivers/acpi/scan.c

> +++ b/drivers/acpi/scan.c

> @@ -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!
diff mbox series

Patch

diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index b24513ec3fae..5b54c80b9d32 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -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>