diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/power/cpupower/utils/cpuidle-info.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/power/cpupower/utils/cpuidle-info.c b/tools/power/cpupower/utils/cpuidle-info.c index e076bebde1c..8145af5f93a 100644 --- a/tools/power/cpupower/utils/cpuidle-info.c +++ b/tools/power/cpupower/utils/cpuidle-info.c | |||
| @@ -35,13 +35,6 @@ static void cpuidle_cpu_output(unsigned int cpu, int verbose) | |||
| 35 | printf(_("CPU %u: Can't read idle state info\n"), cpu); | 35 | printf(_("CPU %u: Can't read idle state info\n"), cpu); |
| 36 | return; | 36 | return; |
| 37 | } | 37 | } |
| 38 | tmp = sysfs_get_idlestate_name(cpu, idlestates - 1); | ||
| 39 | if (!tmp) { | ||
| 40 | printf(_("Could not determine max idle state %u\n"), | ||
| 41 | idlestates - 1); | ||
| 42 | return; | ||
| 43 | } | ||
| 44 | |||
| 45 | printf(_("Number of idle states: %d\n"), idlestates); | 38 | printf(_("Number of idle states: %d\n"), idlestates); |
| 46 | printf(_("Available idle states:")); | 39 | printf(_("Available idle states:")); |
| 47 | for (idlestate = 0; idlestate < idlestates; idlestate++) { | 40 | for (idlestate = 0; idlestate < idlestates; idlestate++) { |
