From: Dejin Zheng <zhengdejin5@gmail.com>
To: mark.rutland@arm.com, maz@kernel.org, daniel.lezcano@linaro.org,
tglx@linutronix.de, linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org, Dejin Zheng <zhengdejin5@gmail.com>
Subject: [PATCH v1] drivers/clocksource/arm_arch_timer: remove duplicate error message
Date: Wed, 29 Apr 2020 23:35:59 +0800 [thread overview]
Message-ID: <20200429153559.21189-1-zhengdejin5@gmail.com> (raw)
it will print an error message by itself when acpi_gtdt_init()
goes wrong. so remove the duplicate error message.
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
---
drivers/clocksource/arm_arch_timer.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index 2204a444e801..ecf7b7db2d05 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -1588,10 +1588,8 @@ static int __init arch_timer_acpi_init(struct acpi_table_header *table)
arch_timers_present |= ARCH_TIMER_TYPE_CP15;
ret = acpi_gtdt_init(table, &platform_timer_count);
- if (ret) {
- pr_err("Failed to init GTDT table.\n");
+ if (ret)
return ret;
- }
arch_timer_ppi[ARCH_TIMER_PHYS_NONSECURE_PPI] =
acpi_gtdt_map_ppi(ARCH_TIMER_PHYS_NONSECURE_PPI);
--
2.25.0
next reply other threads:[~2020-04-29 15:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-29 15:35 Dejin Zheng [this message]
2020-05-18 16:21 ` [PATCH v1] drivers/clocksource/arm_arch_timer: remove duplicate error message Daniel Lezcano
2020-06-01 13:11 ` [tip: timers/core] drivers/clocksource/arm_arch_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=20200429153559.21189-1-zhengdejin5@gmail.com \
--to=zhengdejin5@gmail.com \
--cc=daniel.lezcano@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=maz@kernel.org \
--cc=tglx@linutronix.de \
/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;
as well as URLs for NNTP newsgroup(s).