* [PATCH] clocksource/drivers/timer_sun5i: Fix trailing semicolon
@ 2018-01-23 11:41 Luis de Bethencourt
2018-01-24 4:32 ` Chen-Yu Tsai
0 siblings, 1 reply; 2+ messages in thread
From: Luis de Bethencourt @ 2018-01-23 11:41 UTC (permalink / raw)
To: linux-kernel
Cc: Joe Perches, Daniel Lezcano, Thomas Gleixner, Maxime Ripard,
Chen-Yu Tsai, linux-arm-kernel, Luis de Bethencourt
The trailing semicolon is an empty statement that does no operation.
Removing it since it doesn't do anything.
Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
---
Hi,
After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches
suggested I fix it treewide [0].
Best regards
Luis
[0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html
[1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html
drivers/clocksource/timer-sun5i.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/timer-sun5i.c b/drivers/clocksource/timer-sun5i.c
index 2a3fe83ec337..3b56ea3f52af 100644
--- a/drivers/clocksource/timer-sun5i.c
+++ b/drivers/clocksource/timer-sun5i.c
@@ -334,7 +334,7 @@ static int __init sun5i_timer_init(struct device_node *node)
timer_base = of_io_request_and_map(node, 0, of_node_full_name(node));
if (IS_ERR(timer_base)) {
pr_err("Can't map registers\n");
- return PTR_ERR(timer_base);;
+ return PTR_ERR(timer_base);
}
irq = irq_of_parse_and_map(node, 0);
--
2.15.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clocksource/drivers/timer_sun5i: Fix trailing semicolon
2018-01-23 11:41 [PATCH] clocksource/drivers/timer_sun5i: Fix trailing semicolon Luis de Bethencourt
@ 2018-01-24 4:32 ` Chen-Yu Tsai
0 siblings, 0 replies; 2+ messages in thread
From: Chen-Yu Tsai @ 2018-01-24 4:32 UTC (permalink / raw)
To: Luis de Bethencourt
Cc: linux-kernel, Joe Perches, Daniel Lezcano, Thomas Gleixner,
Maxime Ripard, linux-arm-kernel
On Tue, Jan 23, 2018 at 7:41 PM, Luis de Bethencourt <luisbg@kernel.org> wrote:
> The trailing semicolon is an empty statement that does no operation.
> Removing it since it doesn't do anything.
>
> Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-24 4:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-23 11:41 [PATCH] clocksource/drivers/timer_sun5i: Fix trailing semicolon Luis de Bethencourt
2018-01-24 4:32 ` Chen-Yu Tsai
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).