]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_LAYER2_...
authorFabio Aiuto <fabioaiuto83@gmail.com>
Tue, 16 Mar 2021 15:31:42 +0000 (16:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Mar 2021 09:19:44 +0000 (10:19 +0100)
remove conditional code blocks checked by unused
CONFIG_LAYER2_ROAMING_ACTIVE

cleaning required in TODO file:

find and remove code blocks guarded by never set CONFIG_FOO defines

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/db002fc802d266f09a1e990a7717a2cacf0ed7a1.1615907632.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme.c

index a9e5c27a42f70d7d4b6d8da21590fc3787bb3cfe..149093c710ae258ec23f037a14a29ea788cf4f9a 100644 (file)
@@ -67,9 +67,6 @@ int   rtw_init_mlme_priv(struct adapter *padapter)
        pmlmepriv->roam_flags = 0
                | RTW_ROAM_ON_EXPIRED
                | RTW_ROAM_ON_RESUME
-               #ifdef CONFIG_LAYER2_ROAMING_ACTIVE /* FIXME */
-               | RTW_ROAM_ACTIVE
-               #endif
                ;
 
        pmlmepriv->roam_scanr_exp_ms = RTW_ROAM_SCAN_RESULT_EXP_MS;