]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
intel_idle: Remove unused driver version constant
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 15 Dec 2025 11:12:29 +0000 (13:12 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 7 Jan 2026 20:11:42 +0000 (21:11 +0100)
The INTEL_IDLE_VERSION constant has not been updated since 2020 and serves
no useful purpose. The driver version is implicitly defined by the kernel
version, making this constant redundant.

Remove the constant to eliminate potential confusion about version
tracking.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Link: https://patch.msgid.link/20251215111229.132705-1-dedekind1@gmail.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/idle/intel_idle.c

index 9ba83954c2555810a515914880c8add5c3f43046..aa44b3c2cb2c4805dc9411171340c721cf7c9410 100644 (file)
@@ -63,8 +63,6 @@
 #include <asm/fpu/api.h>
 #include <asm/smp.h>
 
-#define INTEL_IDLE_VERSION "0.5.1"
-
 static struct cpuidle_driver intel_idle_driver = {
        .name = "intel_idle",
        .owner = THIS_MODULE,
@@ -2478,9 +2476,6 @@ static int __init intel_idle_init(void)
                return -ENODEV;
        }
 
-       pr_debug("v" INTEL_IDLE_VERSION " model 0x%X\n",
-                boot_cpu_data.x86_model);
-
        intel_idle_cpuidle_devices = alloc_percpu(struct cpuidle_device);
        if (!intel_idle_cpuidle_devices)
                return -ENOMEM;