aboutsummaryrefslogtreecommitdiff
path: root/idlestat.c
diff options
context:
space:
mode:
authorTuukka Tikkanen <tuukka.tikkanen@linaro.org>2015-01-05 08:52:45 +0200
committerTuukka Tikkanen <tuukka.tikkanen@linaro.org>2015-01-05 10:21:01 +0200
commitdd32f2784f2276ba00f6cd4532b9050f2fe1a995 (patch)
tree7908865447db0fb421059a60e6d8d94798ebd245 /idlestat.c
parent93fa5ceaeaef685724e996d6b39f3c00ba533b81 (diff)
Idlestat: Remove unused parameter count from store_data()
The function store_data() does not use the parameter count for any purpose. This patch removes the parameter. Signed-off-by: Tuukka Tikkanen <tuukka.tikkanen@linaro.org>
Diffstat (limited to 'idlestat.c')
-rw-r--r--idlestat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlestat.c b/idlestat.c
index f9fe6b4..82b01ed 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -829,7 +829,7 @@ static int cstate_end(double time, struct cpuidle_cstates *cstates)
}
int store_data(double time, int state, int cpu,
- struct cpuidle_datas *datas, int count)
+ struct cpuidle_datas *datas)
{
struct cpuidle_cstates *cstates = &datas->cstates[cpu];
struct cpufreq_pstate *pstate = datas->pstates[cpu].pstate;