]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpuidle: haltpoll: Remove single state handling
authorAboorva Devarajan <aboorvad@linux.ibm.com>
Mon, 16 Feb 2026 18:50:03 +0000 (00:20 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 17 Feb 2026 14:49:24 +0000 (15:49 +0100)
commit9b9c0ff095f04c27da1f761d77c19cd53594d18e
treea8ee30801feae9ff480fc887d60d0cea0f75478c
parente5c9ffc6ae1bcdb1062527d611043681ac301aca
cpuidle: haltpoll: Remove single state handling

cpuidle systems where the governor has no choice because there's only
a single idle state are now handled by cpuidle core and bypass the
governor, so remove the related handling.

Signed-off-by: Aboorva Devarajan <aboorvad@linux.ibm.com>
Reviewed-by: Christian Loehle <christian.loehle@arm.com>
[ rjw: Extended the change to drop a redundant local variable ]
Link: https://patch.msgid.link/20260216185005.1131593-3-aboorvad@linux.ibm.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/governors/haltpoll.c