From: Fabio Estevam <festevam@gmail.com>
To: daniel.lezcano@linaro.org
Cc: baohua@kernel.org, linux-kernel@vger.kernel.org,
Fabio Estevam <festevam@gmail.com>
Subject: [PATCH] clocksource: sirf: Remove unused variable
Date: Tue, 23 Dec 2014 19:33:11 -0200 [thread overview]
Message-ID: <1419370391-15027-1-git-send-email-festevam@gmail.com> (raw)
Remove 'timer_div' variable to fix the following build warning:
drivers/clocksource/timer-marco.c: In function 'sirfsoc_marco_timer_init':
drivers/clocksource/timer-marco.c:260:6: warning: unused variable 'timer_div' [-Wunused-variable]
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
drivers/clocksource/timer-marco.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/clocksource/timer-marco.c b/drivers/clocksource/timer-marco.c
index 361a789..3ddb81f 100644
--- a/drivers/clocksource/timer-marco.c
+++ b/drivers/clocksource/timer-marco.c
@@ -257,7 +257,6 @@ static void __init sirfsoc_clockevent_init(void)
/* initialize the kernel jiffy timer source */
static void __init sirfsoc_marco_timer_init(struct device_node *np)
{
- u32 timer_div;
struct clk *clk;
clk = of_clk_get(np, 0);
--
1.9.1
next reply other threads:[~2014-12-23 21:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-23 21:33 Fabio Estevam [this message]
2015-01-11 14:45 ` [PATCH] clocksource: sirf: Remove unused variable Barry Song
-- strict thread matches above, loose matches on Subject: below --
2015-01-13 14:22 [PATCH] clocksource: sirf: remove " Arnd Bergmann
2015-01-13 14:27 ` Daniel Lezcano
2015-01-13 15:24 ` Arnd Bergmann
2015-01-13 15:39 ` Daniel Lezcano
2015-01-13 15:24 ` Barry Song
2015-01-13 16:22 ` Arnd Bergmann
2014-12-15 15:59 [PATCH] clocksource: sirf: Remove " Thierry Reding
2014-12-15 16:17 ` Daniel Lezcano
2015-01-11 15:58 ` Barry Song
2015-01-11 20:51 ` Daniel Lezcano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1419370391-15027-1-git-send-email-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=baohua@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox