public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clocksource/drivers/mips-gic-timer: Fix trailing semicolon
@ 2018-01-23 11:43 Luis de Bethencourt
  0 siblings, 0 replies; only message in thread
From: Luis de Bethencourt @ 2018-01-23 11:43 UTC (permalink / raw)
  To: linux-kernel
  Cc: Joe Perches, Daniel Lezcano, Thomas Gleixner, 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,

Similar to the other drivers/clocksource/ patch [0].

After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches
suggested I fix it treewide [1].

Best regards 
Luis


[0] https://lkml.org/lkml/2018/1/23/213
[1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html
[2] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html


 drivers/clocksource/mips-gic-timer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clocksource/mips-gic-timer.c b/drivers/clocksource/mips-gic-timer.c
index a04808a21d4e..65e18c86d9b9 100644
--- a/drivers/clocksource/mips-gic-timer.c
+++ b/drivers/clocksource/mips-gic-timer.c
@@ -205,12 +205,12 @@ static int __init gic_clocksource_of_init(struct device_node *node)
 	} else if (of_property_read_u32(node, "clock-frequency",
 					&gic_frequency)) {
 		pr_err("GIC frequency not specified.\n");
-		return -EINVAL;;
+		return -EINVAL;
 	}
 	gic_timer_irq = irq_of_parse_and_map(node, 0);
 	if (!gic_timer_irq) {
 		pr_err("GIC timer IRQ not specified.\n");
-		return -EINVAL;;
+		return -EINVAL;
 	}
 
 	ret = __gic_clocksource_init();
-- 
2.15.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-23 11:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-23 11:43 [PATCH] clocksource/drivers/mips-gic-timer: Fix trailing semicolon Luis de Bethencourt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox