[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190317183115.32393-3-benniciemanuel78@gmail.com>
Date: Sun, 17 Mar 2019 19:31:06 +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>,
Thomas Avery <tavery321@...il.com>,
Hardik Singh Rathore <hardiksingh.k@...il.com>,
Florian Harbecke <florian.harbecke@....de>,
Aymen Qader <qader.aymen@...il.com>,
Nathan Chancellor <natechancellor@...il.com>,
Henriette Hofmeier <passt@...ofmeier.de>,
Michael Straube <straube.linux@...il.com>
Subject: [PATCH 03/10] staging: rtl8723bs: Remove Dead Code in collect_bss_info Function
In `u8 collect_bss_info` is a ifdef-Preprocessor who checks
CONFIG_INTEL_WIDI, since this Macro doesn't exists anymore this Patch
removes the Dead Code in core/rtw_mlme_ext.c
Signed-off-by: Emanuel Bennici <benniciemanuel78@...il.com>
---
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
index ebb45acb4446..1f7c87e48c1e 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
@@ -4579,12 +4579,6 @@ u8 collect_bss_info(struct adapter *padapter, union recv_frame *precv_frame, str
pmlmepriv->num_sta_no_ht++;
}
-#ifdef CONFIG_INTEL_WIDI
- /* process_intel_widi_query_or_tigger(padapter, bssid); */
- if (process_intel_widi_query_or_tigger(padapter, bssid))
- return _FAIL;
-#endif /* CONFIG_INTEL_WIDI */
-
#if defined(DBG_RX_SIGNAL_DISPLAY_SSID_MONITORED) & 1
if (strcmp(bssid->Ssid.Ssid, DBG_RX_SIGNAL_DISPLAY_SSID_MONITORED) == 0) {
DBG_871X("Receiving %s("MAC_FMT", DSConfig:%u) from ch%u with ss:%3u, sq:%3u, RawRSSI:%3ld\n"
--
2.19.1
Powered by blists - more mailing lists