Skip to contentSkip to conversation

x86/smpboot: Remove duplicate includes

PATCH Applied Wan Jiabing 2 participants 2 messages Apr 27, 2021 – May 6, 2021 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/smpboot: Remove duplicate includes

asm/intel-family.h is included at line 80.
asm/cpu_device_id.h is included at line 81.
Remove duplicate includes here.

---
 arch/x86/kernel/smpboot.c | 3 ---
 1 file changed, 3 deletions(-)
arch/x86/kernel/smpboot.c +0 -3
index 1e2050c4f94a..c1c1bd1ab921 100644
@@ -1863,9 +1863,6 @@ static bool slv_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq)
 	return true;
 }
 
-#include <asm/cpu_device_id.h>
-#include <asm/intel-family.h>
-
 #define X86_MATCH(model)					\
 	X86_MATCH_VENDOR_FAM_MODEL_FEATURE(INTEL, 6,		\
 		INTEL_FAM6_##model, X86_FEATURE_APERFMPERF, NULL)
Signature · 1 line
2.25.1
merge bot Applied
#1 lore raw
The following commit has been merged into the x86/urgent branch of tip:

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

Commit-ID:     3cf4524ce40b204418537e6a3a55ed44911b3f53
Gitweb:        https://git.kernel.org/tip/3cf4524ce40b204418537e6a3a55ed44911b3f53
Author:        Wan Jiabing <[email protected]>
AuthorDate:    Tue, 27 Apr 2021 14:38:26 +08:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Wed, 05 May 2021 21:50:13 +02:00

x86/smpboot: Remove duplicate includes

---
 arch/x86/kernel/smpboot.c | 3 ---
 1 file changed, 3 deletions(-)
arch/x86/kernel/smpboot.c +0 -3
index 7ffb0cf..0ad5214 100644
@@ -1865,9 +1865,6 @@ static bool slv_set_max_freq_ratio(u64 *base_freq, u64 *turbo_freq)
 	return true;
 }
 
-#include <asm/cpu_device_id.h>
-#include <asm/intel-family.h>
-
 #define X86_MATCH(model)					\
 	X86_MATCH_VENDOR_FAM_MODEL_FEATURE(INTEL, 6,		\
 		INTEL_FAM6_##model, X86_FEATURE_APERFMPERF, NULL)