remove unused code and parameter for clock dump function
the verbose option is unused.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
diff --git a/powerdebug.c b/powerdebug.c
index f71a9df..71c37f2 100644
--- a/powerdebug.c
+++ b/powerdebug.c
@@ -310,13 +310,8 @@
regulator_print_info(reg_info, nr_reg, options->verbose);
}
- if (options->clocks) {
-
- if (options->clkname)
- read_and_dump_clock_info_one(options->clkname);
- else
- read_and_dump_clock_info(options->verbose);
- }
+ if (options->clocks)
+ read_and_dump_clock_info(options->clkname);
if (options->sensors)
read_and_print_sensor_info(options->verbose);