staging: rtl8723bs: Remove Dead Code in os_dep/os_intfs.c
authorEmanuel Bennici <benniciemanuel78@gmail.com>
Sun, 17 Mar 2019 18:31:09 +0000 (19:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:53:42 +0000 (07:53 +0100)
`uint loadparam` uses the Macro CONFIG_INTEL_WIDI witch doesn't exists
anymore.

Signed-off-by: Emanuel Bennici <benniciemanuel78@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/os_intfs.c

index 143e3f9..4980fed 100644 (file)
@@ -309,9 +309,6 @@ static uint loadparam(struct adapter *padapter, _nic_hdl pnetdev)
        registry_par->hw_wps_pbc = (u8)rtw_hw_wps_pbc;
 
        registry_par->max_roaming_times = (u8)rtw_max_roaming_times;
-#ifdef CONFIG_INTEL_WIDI
-       registry_par->max_roaming_times = (u8)rtw_max_roaming_times + 2;
-#endif /*  CONFIG_INTEL_WIDI */
 
        registry_par->enable80211d = (u8)rtw_80211d;