From: Dejin Zheng <zhengdejin5@gmail.com>
To: vgupta@synopsys.com, daniel.lezcano@linaro.org,
tglx@linutronix.de, linux-snps-arc@lists.infradead.org
Cc: linux-kernel@vger.kernel.org, Dejin Zheng <zhengdejin5@gmail.com>
Subject: [PATCH v1] clocksource: arc_timer: remove duplicate error message
Date: Wed, 29 Apr 2020 23:12:23 +0800 [thread overview]
Message-ID: <20200429151223.3120-1-zhengdejin5@gmail.com> (raw)
it will print an error message by itself when arc_get_timer_clk()
goes wrong. so remove the duplicate error message.
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
---
drivers/clocksource/arc_timer.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/clocksource/arc_timer.c b/drivers/clocksource/arc_timer.c
index b29b5a75333e..de93dd1a8c7b 100644
--- a/drivers/clocksource/arc_timer.c
+++ b/drivers/clocksource/arc_timer.c
@@ -334,10 +334,8 @@ static int __init arc_clockevent_setup(struct device_node *node)
}
ret = arc_get_timer_clk(node);
- if (ret) {
- pr_err("clockevent: missing clk\n");
+ if (ret)
return ret;
- }
/* Needs apriori irq_set_percpu_devid() done in intc map function */
ret = request_percpu_irq(arc_timer_irq, timer_irq_handler,
--
2.25.0
next reply other threads:[~2020-04-29 15:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-29 15:12 Dejin Zheng [this message]
2020-05-18 16:21 ` Daniel Lezcano
2020-06-01 13:11 ` [tip: timers/core] clocksource/drivers/arc_timer: Remove " tip-bot2 for Dejin Zheng
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=20200429151223.3120-1-zhengdejin5@gmail.com \
--to=zhengdejin5@gmail.com \
--cc=daniel.lezcano@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-snps-arc@lists.infradead.org \
--cc=tglx@linutronix.de \
--cc=vgupta@synopsys.com \
/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
all inboxes | Powered by JetHome®