staging: rtl8723bs: Remove old unreachable Code
authorEmanuel Bennici <benniciemanuel78@gmail.com>
Sun, 17 Mar 2019 18:31:07 +0000 (19:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:53:41 +0000 (07:53 +0100)
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@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c

index 1f7c87e..b2813eb 100644 (file)
@@ -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)