Skip to content

Commit 1826d56

Browse files
KAGA-KOKOsuryasaimadhu
authored andcommitted
x86/cpu: Cleanup the now unused CPU match macros
No more users. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 315d01d commit 1826d56

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

arch/x86/include/asm/cpu_device_id.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@
9191
#define X86_MATCH_FEATURE(feature, data) \
9292
X86_MATCH_VENDOR_FEATURE(ANY, feature, data)
9393

94-
/* Transitional to keep the existing code working */
95-
#define X86_FEATURE_MATCH(feature) X86_MATCH_FEATURE(feature, NULL)
96-
9794
/**
9895
* X86_MATCH_VENDOR_FAM_MODEL - Match vendor, family and model
9996
* @vendor: The vendor name, e.g. INTEL, AMD, HYGON, ..., ANY

arch/x86/include/asm/intel-family.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,4 @@
124124
/* Family 5 */
125125
#define INTEL_FAM5_QUARK_X1000 0x09 /* Quark X1000 SoC */
126126

127-
/* Useful macros */
128-
#define INTEL_CPU_FAM_ANY(_family, _model, _driver_data) \
129-
{ \
130-
.vendor = X86_VENDOR_INTEL, \
131-
.family = _family, \
132-
.model = _model, \
133-
.feature = X86_FEATURE_ANY, \
134-
.driver_data = (kernel_ulong_t)&_driver_data \
135-
}
136-
137-
#define INTEL_CPU_FAM6(_model, _driver_data) \
138-
INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model, _driver_data)
139-
140127
#endif /* _ASM_X86_INTEL_FAMILY_H */

0 commit comments

Comments
 (0)