Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753088AbeAQNiR (ORCPT + 1 other); Wed, 17 Jan 2018 08:38:17 -0500 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:64085 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752276AbeAQNiP (ORCPT ); Wed, 17 Jan 2018 08:38:15 -0500 X-IronPort-AV: E=Sophos;i="5.46,372,1511827200"; d="scan'208";a="703863990" From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , Shaohua Li , linux-raid@vger.kernel.org, Luis de Bethencourt Subject: [PATCH] md/raid1: Fix trailing semicolon Date: Wed, 17 Jan 2018 13:38:02 +0000 Message-Id: <20180117133802.8879-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 Return-Path: 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, 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/md/raid1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index b2eae332e1a2..f978eddc7a21 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c @@ -1108,7 +1108,7 @@ static void alloc_behind_master_bio(struct r1bio *r1_bio, bio_copy_data(behind_bio, bio); skip_copy: - r1_bio->behind_master_bio = behind_bio;; + r1_bio->behind_master_bio = behind_bio; set_bit(R1BIO_BehindIO, &r1_bio->state); return; -- 2.15.1