aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2011-06-08 23:30:00 +0200
committerDaniel Lezcano <daniel.lezcano@free.fr>2011-06-08 23:30:00 +0200
commit3e38e0fd73fecd9f5887dcab1aec44972b450abc (patch)
treebcc852eda7a4a4ffba3d8f9142eaa61fa8c0286c
parentafe6225aeb3803561ded0df7427b698be83b3d09 (diff)
downloadpowerdebug-3e38e0fd73fecd9f5887dcab1aec44972b450abc.tar.gz
remove unused parameter
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r--clocks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/clocks.c b/clocks.c
index d70d480..8e3509c 100644
--- a/clocks.c
+++ b/clocks.c
@@ -213,7 +213,7 @@ int dump_clock_info(void)
return tree_for_each(clock_tree, dump_clock_cb, NULL);
}
-static int dump_all_parents(char *clkarg, bool dump)
+static int dump_all_parents(char *clkarg)
{
struct tree *tree;
@@ -241,7 +241,7 @@ void find_parents_for_clock(char *clkname, int complete)
}
sprintf(name, "Parents for \"%s\" Clock : \n", clkname);
print_one_clock(0, name, 1, 1);
- dump_all_parents(clkname, false);
+ dump_all_parents(clkname);
}
static void destroy_clocks_info_recur(struct clock_info *clock)
@@ -571,7 +571,7 @@ void read_and_dump_clock_info_one(char *clk, bool dump)
{
printf("\nParents for \"%s\" Clock :\n\n", clk);
read_clock_info(clk_dir_path);
- dump_all_parents(clk, dump);
+ dump_all_parents(clk);
printf("\n\n");
}