Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754418AbeAJNvA (ORCPT + 1 other); Wed, 10 Jan 2018 08:51:00 -0500 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:26453 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753547AbeAJNu4 (ORCPT ); Wed, 10 Jan 2018 08:50:56 -0500 X-IronPort-AV: E=Sophos;i="5.46,340,1511827200"; d="scan'208";a="714690489" From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: devel@driverdev.osuosl.org, Greg Kroah-Hartman , Larry Finger , Hans de Goede , Bastien Nocera , Arnd Bergmann , Joe Perches , Luis de Bethencourt Subject: [PATCH 3/3] staging: rtl8723bs: Fix trailing semicolon in comment Date: Wed, 10 Jan 2018 13:50:38 +0000 Message-Id: <20180110135038.32293-4-luisbg@kernel.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180110135038.32293-1-luisbg@kernel.org> References: <20180110135038.32293-1-luisbg@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Even though the code is commented out, it has a small bug. 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 --- drivers/staging/rtl8723bs/core/rtw_mlme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c b/drivers/staging/rtl8723bs/core/rtw_mlme.c index fe739eb2cf7d..7d1f19b2960d 100644 --- a/drivers/staging/rtl8723bs/core/rtw_mlme.c +++ b/drivers/staging/rtl8723bs/core/rtw_mlme.c @@ -2889,7 +2889,7 @@ void rtw_update_ht_cap(struct adapter *padapter, u8 *pie, uint ie_len, u8 channe struct ht_priv *phtpriv = &pmlmepriv->htpriv; /* struct recv_priv *precvpriv = &padapter->recvpriv; */ struct registry_priv *pregistrypriv = &padapter->registrypriv; - /* struct wlan_network *pcur_network = &(pmlmepriv->cur_network);; */ + /* struct wlan_network *pcur_network = &(pmlmepriv->cur_network); */ struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info); u8 cbw40_enable = 0; -- 2.15.1