From 5c3cd0546e58ba993d7d32184a38219c16bf3676 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Fri, 16 Dec 2011 15:35:54 +0100 Subject: [PATCH] --- yaml --- r: 297560 b: refs/heads/master c: e0c6082daeb982df70f00bbb122fed66f7f57c3e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/tools/power/cpupower/utils/cpuidle-info.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/[refs] b/[refs] index 323033f296b0..eccde9cb30ad 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0b37ee65e5d5e626b50852718ed72979160f7be0 +refs/heads/master: e0c6082daeb982df70f00bbb122fed66f7f57c3e diff --git a/trunk/tools/power/cpupower/utils/cpuidle-info.c b/trunk/tools/power/cpupower/utils/cpuidle-info.c index e076bebde1c4..8145af5f93a6 100644 --- a/trunk/tools/power/cpupower/utils/cpuidle-info.c +++ b/trunk/tools/power/cpupower/utils/cpuidle-info.c @@ -35,13 +35,6 @@ static void cpuidle_cpu_output(unsigned int cpu, int verbose) printf(_("CPU %u: Can't read idle state info\n"), cpu); return; } - tmp = sysfs_get_idlestate_name(cpu, idlestates - 1); - if (!tmp) { - printf(_("Could not determine max idle state %u\n"), - idlestates - 1); - return; - } - printf(_("Number of idle states: %d\n"), idlestates); printf(_("Available idle states:")); for (idlestate = 0; idlestate < idlestates; idlestate++) {