Skip to contentSkip to conversation

ACPI: NHLT: Remove always included kconfig.h

PATCH Applied Andy Shevchenko 2 participants 2 messages Jul 17 – Jul 21

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
 include/acpi/nhlt.h | 1 -
 1 file changed, 1 deletion(-)
include/acpi/nhlt.h +0 -1
index 2108aa6d0207..370958d93706 100644
@@ -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
maintainer Applied
#1 lore raw
Quoted 15 lines · Andy Shevchenko

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.

---
 include/acpi/nhlt.h | 1 -
 1 file changed, 1 deletion(-)
include/acpi/nhlt.h +0 -0
index 2108aa6d0207..370958d93706 100644

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!