]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8723bs: Remove Dead Code in collect_bss_info Function
authorEmanuel Bennici <benniciemanuel78@gmail.com>
Sun, 17 Mar 2019 18:31:06 +0000 (19:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:53:41 +0000 (07:53 +0100)
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@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c

index ebb45acb4446a18c1399270cab9e3b95d6e20706..1f7c87e48c1e3f1294c0e0048c22022bdc607aaa 100644 (file)
@@ -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"