From patchwork Thu Jun 16 20:29:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 2002 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 9272D23E54 for ; Thu, 16 Jun 2011 20:31:52 +0000 (UTC) Received: from mail-vw0-f50.google.com (mail-vw0-f50.google.com [209.85.212.50]) by fiordland.canonical.com (Postfix) with ESMTP id 62963A18585 for ; Thu, 16 Jun 2011 20:31:52 +0000 (UTC) Received: by mail-vw0-f50.google.com with SMTP id 14so1756035vws.37 for ; Thu, 16 Jun 2011 13:31:52 -0700 (PDT) Received: by 10.52.95.194 with SMTP id dm2mr353101vdb.47.1308256312138; Thu, 16 Jun 2011 13:31:52 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.52.183.130 with SMTP id em2cs211218vdc; Thu, 16 Jun 2011 13:31:51 -0700 (PDT) Received: by 10.227.205.69 with SMTP id fp5mr1323443wbb.97.1308256307642; Thu, 16 Jun 2011 13:31:47 -0700 (PDT) Received: from smtp.smtpout.orange.fr (smtp08.smtpout.orange.fr [80.12.242.130]) by mx.google.com with ESMTP id fy15si1372173wbb.17.2011.06.16.13.31.47; Thu, 16 Jun 2011 13:31:47 -0700 (PDT) Received-SPF: neutral (google.com: 80.12.242.130 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=80.12.242.130; Authentication-Results: mx.google.com; spf=neutral (google.com: 80.12.242.130 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: from monster.dhcp.lxc ([92.134.76.78]) by mwinf5d16 with ME id wkXf1g0031hMfSL03kXmK4; Thu, 16 Jun 2011 22:31:46 +0200 From: Daniel Lezcano To: patches@linaro.org Subject: [PATCH 18/28] remove unused parameter Date: Thu, 16 Jun 2011 22:29:47 +0200 Message-Id: <1308256197-29155-18-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1308256197-29155-1-git-send-email-daniel.lezcano@linaro.org> References: <1308256197-29155-1-git-send-email-daniel.lezcano@linaro.org> Signed-off-by: Daniel Lezcano --- clocks.c | 6 +++--- 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"); }