mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
The Kconfig in the parent directory already has the first 'if CPU_IDLE' gating the inclusion of this Kconfig, meaning that the 'depends on CPUIDLE' statements in these config options are effectively dead code. Leave the 'if CPU_IDLE...endif' condition, and remove the individual 'depends on' statements in Kconfig.mips and Kconfig.powerpc This dead code was found by kconfirm, a static analysis tool for Kconfig. Signed-off-by: Julian Braha <julianbraha@gmail.com> [ rjw: Subject and changelog edits ] Link: https://patch.msgid.link/20260331074920.41269-1-julianbraha@gmail.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
20 lines
478 B
Plaintext
20 lines
478 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# POWERPC CPU Idle Drivers
|
|
#
|
|
config PSERIES_CPUIDLE
|
|
bool "Cpuidle driver for pSeries platforms"
|
|
depends on PPC_PSERIES
|
|
default y
|
|
help
|
|
Select this option to enable processor idle state management
|
|
through cpuidle subsystem.
|
|
|
|
config POWERNV_CPUIDLE
|
|
bool "Cpuidle driver for powernv platforms"
|
|
depends on PPC_POWERNV
|
|
default y
|
|
help
|
|
Select this option to enable processor idle state management
|
|
through cpuidle subsystem.
|