Signed-off-by: Daniel Lezcano <[email protected]>
---
idlestat.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index b084b5d..e5dde8c 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -72,15 +72,7 @@ static int display_cstates(struct cpuidle_cstates *cstates,
char *str)
{
int i;
- /* If the first C-state does not have target_residency
- * chances are pretty high that we dont have it for any node.
- */
- if (cstates->cstate[0].target_residency >= 0)
- printf("%s@state
hits\tover\tunder\t\ttotal(us)\tavg(us)\tmin(us)\tmax(us)\n",
- str);
- else
- printf("%s@state
hits\t\ttotal(us)\tavg(us)\tmin(us)\tmax(us)\n",
- str);
+ printf("%s@state
hits\tover\tunder\t\ttotal(us)\tavg(us)\tmin(us)\tmax(us)\n", str);
for (i = 0; i < cstates->cstate_max + 1; i++) {
struct cpuidle_cstate *c = &cstates->cstate[i];
--
1.7.9.5
_______________________________________________
linaro-dev mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/linaro-dev