Skip to content

Commit 25ff690

Browse files
dedekindrafaeljw
authored andcommitted
intel_idle: Remove unused driver version constant
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>
1 parent 9ace475 commit 25ff690

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/idle/intel_idle.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@
6363
#include <asm/fpu/api.h>
6464
#include <asm/smp.h>
6565

66-
#define INTEL_IDLE_VERSION "0.5.1"
67-
6866
static struct cpuidle_driver intel_idle_driver = {
6967
.name = "intel_idle",
7068
.owner = THIS_MODULE,
@@ -2478,9 +2476,6 @@ static int __init intel_idle_init(void)
24782476
return -ENODEV;
24792477
}
24802478

2481-
pr_debug("v" INTEL_IDLE_VERSION " model 0x%X\n",
2482-
boot_cpu_data.x86_model);
2483-
24842479
intel_idle_cpuidle_devices = alloc_percpu(struct cpuidle_device);
24852480
if (!intel_idle_cpuidle_devices)
24862481
return -ENOMEM;

0 commit comments

Comments
 (0)