aboutsummaryrefslogtreecommitdiff
path: root/clocks.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@free.fr>2011-03-26 22:06:06 +0100
committerAmit Kucheria <amit.kucheria@linaro.org>2011-04-04 02:48:30 +0300
commit897f73360a471a12bc522fdd22832891294d1ac7 (patch)
tree8451bbcc793a9d1759b67402892d81d7e34995de /clocks.c
parentb57467126ac56a59aef4f7627f4b4c0427341179 (diff)
downloadpowerdebug-897f73360a471a12bc522fdd22832891294d1ac7.tar.gz
Further reduce dump variable usage
The modified function are used on the display mode context, we no longer need to pass the dump option. Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Diffstat (limited to 'clocks.c')
-rw-r--r--clocks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clocks.c b/clocks.c
index 4b5b0b7..c42f589 100644
--- a/clocks.c
+++ b/clocks.c
@@ -146,7 +146,7 @@ static void dump_all_parents(char *clkarg, bool dump)
}
}
-void find_parents_for_clock(char *clkname, int complete, bool dump)
+void find_parents_for_clock(char *clkname, int complete)
{
char name[256];
@@ -161,7 +161,7 @@ void find_parents_for_clock(char *clkname, int complete, bool dump)
}
sprintf(name, "Parents for \"%s\" Clock : \n", clkname);
print_one_clock(0, name, 1, 1);
- dump_all_parents(clkname, dump);
+ dump_all_parents(clkname, false);
}
int read_and_print_clock_info(int verbose, int hrow, int selected)