aboutsummaryrefslogtreecommitdiff
path: root/idlestat.c
diff options
context:
space:
mode:
authorTuukka Tikkanen <tuukka.tikkanen@linaro.org>2015-01-21 15:09:14 +0200
committerTuukka Tikkanen <tuukka.tikkanen@linaro.org>2015-01-22 03:47:03 +0200
commit0b139fe78d33c14158667fbf34f00fce6defea24 (patch)
tree069e6c10e5019046c9581a35bb29228ca8096dc9 /idlestat.c
parent7f365110226a5cb350df98dc7270e851093c8668 (diff)
Energy model: Remove unused parameter options
Function calculate_energy_model (no longer) uses the program options structure. It may have been used earlier for the verbosity control in some messages, but that system has been reworked. Remove the unused paramter. 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 6f28caf..d8a9ba5 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -1578,7 +1578,7 @@ int main(int argc, char *argv[], char *const envp[])
}
if (options.energy_model_filename)
- calculate_energy_consumption(cpu_topo, &options);
+ calculate_energy_consumption(cpu_topo);
output_handler->close_report_file(report_data);