From: Emanuel Bennici Date: Sun, 17 Mar 2019 18:31:09 +0000 (+0100) Subject: staging: rtl8723bs: Remove Dead Code in os_dep/os_intfs.c X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bd10cd97e213d8d7b693b42c9e11af2781fb95f2;p=linux.git staging: rtl8723bs: Remove Dead Code in os_dep/os_intfs.c `uint loadparam` uses the Macro CONFIG_INTEL_WIDI witch doesn't exists anymore. Signed-off-by: Emanuel Bennici Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c index 143e3f9b31aa2..4980fedb2fcc0 100644 --- a/drivers/staging/rtl8723bs/os_dep/os_intfs.c +++ b/drivers/staging/rtl8723bs/os_dep/os_intfs.c @@ -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;