[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190317183115.32393-4-benniciemanuel78@gmail.com>
Date: Sun, 17 Mar 2019 19:31:07 +0100
From: Emanuel Bennici <benniciemanuel78@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Joe Perches <joe@...ches.com>,
Henriette Hofmeier <passt@...ofmeier.de>,
Thomas Avery <tavery321@...il.com>,
Jia-Ju Bai <baijiaju1990@...il.com>,
Quytelda Kahja <quytelda@...alin.org>,
Aymen Qader <qader.aymen@...il.com>,
Nathan Chancellor <natechancellor@...il.com>,
Young Xiao <YangX92@...mail.com>,
Hardik Singh Rathore <hardiksingh.k@...il.com>,
Michael Straube <straube.linux@...il.com>
Subject: [PATCH 04/10] staging: rtl8723bs: Remove old unreachable Code
The commented code in core/rtw_mlme_ext.c obsolete because the macro
CONFIG_INTEL_WIDI no longer exists.
Signed-off-by: Emanuel Bennici <benniciemanuel78@...il.com>
---
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
index 1f7c87e48c1e..b2813eb3d9d2 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
@@ -5707,11 +5707,6 @@ void linked_status_chk(struct adapter *padapter)
/* Marked by Kurt 20130715 */
/* For WiDi 3.5 and latered on, they don't ask WiDi sink to do roaming, so we could not check rx limit that strictly. */
/* todo: To check why we under miracast session, rx_chk would be false */
- /* ifdef CONFIG_INTEL_WIDI */
- /* if (padapter->mlmepriv.widi_state != INTEL_WIDI_STATE_NONE) */
- /* rx_chk_limit = 1; */
- /* endif */
-
psta = rtw_get_stainfo(pstapriv, pmlmeinfo->network.MacAddress);
if (psta != NULL) {
if (chk_ap_is_alive(padapter, psta) == false)
--
2.19.1
Powered by blists - more mailing lists