@@ -283,7 +283,7 @@ static void destroy_clocks_info(void)
}
-int read_and_print_clock_info(int verbose, int hrow, int selected)
+int read_and_print_clock_info(int hrow, int selected)
{
print_one_clock(0, "Reading Clock Tree ...", 1, 1);
@@ -302,7 +302,7 @@ int read_and_print_clock_info(int verbose, int hrow, int selected)
else
selected = 0;
- print_clock_info(verbose, hrow, selected);
+ print_clock_info(hrow, selected);
hrow = (hrow < old_clock_line_no) ? hrow : old_clock_line_no - 1;
return hrow;
@@ -380,12 +380,10 @@ static void add_clock_details_recur(struct clock_info *clock,
strcpy(clock_lines[clock_line_no], "");
}
-void print_clock_info(int verbose, int hrow, int selected)
+void print_clock_info(int hrow, int selected)
{
int i, count = 0, delta;
- (void)verbose;
-
print_clock_header();
for (i = 0; i < clocks_info->num_children; i++)
@@ -271,7 +271,6 @@ int mainloop(struct powerdebug_options *options,
if (refreshwin)
command = REFRESH_WINDOW;
hrow = read_and_print_clock_info(
- options->verbose,
highlighted_row,
command);
highlighted_row = hrow;
@@ -31,8 +31,8 @@ enum {CLOCK_SELECTED = 1, REFRESH_WINDOW};
extern void read_and_dump_clock_info(char *clk);
extern int read_clock_info(char *clkpath);
extern void find_parents_for_clock(char *clkname, int complete);
-extern int read_and_print_clock_info(int verbose, int hrow, int selected);
-extern void print_clock_info(int verbose, int hrow, int selected);
+extern int read_and_print_clock_info(int hrow, int selected);
+extern void print_clock_info(int hrow, int selected);
extern void print_string_val(char *name, char *val);
extern void print_clock_header(void);
extern void print_one_clock(int line, char *str, int bold, int highlight);
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> --- clocks.c | 8 +++----- powerdebug.c | 1 - powerdebug.h | 4 ++-- 3 files changed, 5 insertions(+), 8 deletions(-)