Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752851AbeAQMJi (ORCPT + 1 other); Wed, 17 Jan 2018 07:09:38 -0500 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:20344 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752228AbeAQMJf (ORCPT ); Wed, 17 Jan 2018 07:09:35 -0500 X-IronPort-AV: E=Sophos;i="5.46,372,1511827200"; d="scan'208";a="703850380" From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , Saeed Mahameed , Matan Barak , Leon Romanovsky , Erez Shitrit , "David S . Miller" , Alex Vesker , Feras Daoud , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, Luis de Bethencourt Subject: [PATCH] net/mlx5e: Fix trailing semicolon Date: Wed, 17 Jan 2018 12:09:15 +0000 Message-Id: <20180117120915.18837-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/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c index bf9dc4516d2c..3ff81411ae93 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c @@ -485,7 +485,7 @@ static int mlx5i_close(struct net_device *netdev) mlx5_fs_remove_rx_underlay_qpn(mdev, ipriv->qp.qpn); mlx5i_uninit_underlay_qp(epriv); mlx5e_deactivate_priv_channels(epriv); - mlx5e_close_channels(&epriv->channels);; + mlx5e_close_channels(&epriv->channels); unlock: mutex_unlock(&epriv->state_lock); return 0; -- 2.15.1