From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751295AbeAWLn7 (ORCPT ); Tue, 23 Jan 2018 06:43:59 -0500 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:42766 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751173AbeAWLn6 (ORCPT ); Tue, 23 Jan 2018 06:43:58 -0500 X-IronPort-AV: E=Sophos;i="5.46,401,1511827200"; d="scan'208";a="328711489" From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , Daniel Lezcano , Thomas Gleixner , Luis de Bethencourt Subject: [PATCH] clocksource/drivers/mips-gic-timer: Fix trailing semicolon Date: Tue, 23 Jan 2018 11:43:43 +0000 Message-Id: <20180123114343.31962-1-luisbg@kernel.org> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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