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
commit49f7b2bf5fd675017b84ccc9a0d070920719cddb (patch)
tree2ba0582032bae7984630e44305f6d19521bc17c0
parent3e38e0fd73fecd9f5887dcab1aec44972b450abc (diff)
downloadpowerdebug-49f7b2bf5fd675017b84ccc9a0d070920719cddb.tar.gz
remove unused parameter 'options->dump'
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r--clocks.c2
-rw-r--r--powerdebug.c3
-rw-r--r--powerdebug.h2
3 files changed, 3 insertions, 4 deletions
diff --git a/clocks.c b/clocks.c
index 8e3509c..5bcef51 100644
--- a/clocks.c
+++ b/clocks.c
@@ -567,7 +567,7 @@ out:
return ret;
}
-void read_and_dump_clock_info_one(char *clk, bool dump)
+void read_and_dump_clock_info_one(char *clk)
{
printf("\nParents for \"%s\" Clock :\n\n", clk);
read_clock_info(clk_dir_path);
diff --git a/powerdebug.c b/powerdebug.c
index af8d28c..f71a9df 100644
--- a/powerdebug.c
+++ b/powerdebug.c
@@ -313,8 +313,7 @@ static int powerdebug_dump(struct powerdebug_options *options,
if (options->clocks) {
if (options->clkname)
- read_and_dump_clock_info_one(options->clkname,
- options->dump);
+ read_and_dump_clock_info_one(options->clkname);
else
read_and_dump_clock_info(options->verbose);
}
diff --git a/powerdebug.h b/powerdebug.h
index 0d8e8d1..8e0c658 100644
--- a/powerdebug.h
+++ b/powerdebug.h
@@ -29,7 +29,7 @@ enum {CLOCK, REGULATOR, SENSOR};
enum {CLOCK_SELECTED = 1, REFRESH_WINDOW};
extern void read_and_dump_clock_info(int verbose);
-extern void read_and_dump_clock_info_one(char *clk, bool dump);
+extern void read_and_dump_clock_info_one(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);