From: Artem Bityutskiy <[email protected]> The MWAIT_IDLE_VERSION constant has not been updated since 2016 and serves no useful purpose. The driver version is implicitly defined by the hypervisor version, making this constant redundant.
Remove the constant to eliminate potential confusion about version tracking. Signed-off-by: Artem Bityutskiy <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]> Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 25ff69011ddf Adjust description to fit our code base. Signed-off-by: Jan Beulich <[email protected]> --- a/xen/arch/x86/cpu/mwait-idle.c +++ b/xen/arch/x86/cpu/mwait-idle.c @@ -58,7 +58,6 @@ #include <acpi/cpufreq/cpufreq.h> -#define MWAIT_IDLE_VERSION "0.4.1" #undef PREFIX #define PREFIX "mwait-idle: " @@ -1632,9 +1631,6 @@ static int __init mwait_idle_probe(void) if (boot_cpu_has(X86_FEATURE_XEN_ARAT)) lapic_timer_reliable_states = LAPIC_TIMER_ALWAYS_RELIABLE; - pr_debug(PREFIX "v" MWAIT_IDLE_VERSION " model %#x\n", - boot_cpu_data.x86_model); - pr_debug(PREFIX "lapic_timer_reliable_states %#x\n", lapic_timer_reliable_states);
