From 6c9344ee3d48b8bb7758c72d9e4eeb8841b8f7ec Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Tue, 5 May 2026 08:25:56 +0200 Subject: [PATCH] x86/mwait-idle: Remove unused driver version constant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Andy Shevchenko Link: https://patch.msgid.link/20251215111229.132705-1-dedekind1@gmail.com Signed-off-by: Rafael J. Wysocki 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 Acked-by: Roger Pau Monné --- xen/arch/x86/cpu/mwait-idle.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xen/arch/x86/cpu/mwait-idle.c b/xen/arch/x86/cpu/mwait-idle.c index 6776eeb9ac..48b7a1e721 100644 --- a/xen/arch/x86/cpu/mwait-idle.c +++ b/xen/arch/x86/cpu/mwait-idle.c @@ -58,7 +58,6 @@ #include -#define MWAIT_IDLE_VERSION "0.4.1" #undef PREFIX #define PREFIX "mwait-idle: " @@ -1636,9 +1635,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.model); - pr_debug(PREFIX "lapic_timer_reliable_states %#x\n", lapic_timer_reliable_states);