ACPI: NHLT: Remove always included kconfig.h
Subsystems (2)
PATCH 1/1 ACPI: NHLT: Remove always included kconfig.h
The inclusion of <linux/kconfig.h> is unneeded as it's guaranteed by the build starting from the commit 2a11c8ea20bf ("kconfig: Introduce IS_ENABLED(), IS_BUILTIN() and IS_MODULE()"). Remove it here.
Signed-off-by Andy Shevchenko <[email protected]>
--- include/acpi/nhlt.h | 1 - 1 file changed, 1 deletion(-)
include/acpi/nhlt.h +0 -1
@@ -10,7 +10,6 @@#define __ACPI_NHLT_H__#include <linux/acpi.h> -#include <linux/kconfig.h> #include <linux/overflow.h> #include <linux/types.h>
Signature · 1 line
2.50.1
Quoted 15 lines · Andy Shevchenko
The inclusion of <
linux/kconfig.h> is unneeded as it's guaranteed by the build starting from the commit2a11c8ea20bf("kconfig: IntroduceIS_ENABLED(),IS_BUILTIN()andIS_MODULE()"). Remove it here.Signed-off-by Andy Shevchenko <[email protected]>--- include/acpi/nhlt.h | 1 - 1 file changed, 1 deletion(-)include/acpi/nhlt.h +0
-0
include/acpi/nhlt.h
Quoted 8 lines
include/acpi/nhlt.h +0
-2@@ -10,7 +10,6 @@#define __ACPI_NHLT_H__#include <linux/acpi.h> -#include <linux/kconfig.h> #include <linux/overflow.h> #include <linux/types.h> --
Applied as 7.3 material, thanks!