]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: DYNAMIC_BB_ANT_DIV is not used
authorMartin Kaiser <martin@kaiser.cx>
Mon, 21 Mar 2022 20:30:29 +0000 (21:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Apr 2022 05:33:46 +0000 (07:33 +0200)
commitb11bce0cff489d2e119a5984c259dab1af101600
treec6839f6e2369378799f4932a64f18ffa9451fa0c
parentd803786561b7fef2aedbbce82f9dd2cd876bcec9
staging: r8188eu: DYNAMIC_BB_ANT_DIV is not used

Remove the DYNAMIC_BB_ANT_DIV capability. It's cleared in one place but
never checked.

DYNAMIC_BB_ANT_DIV is part of podmpriv->SupportAbility, there are no
users that check SupportAbility as a whole and use DYNAMIC_BB_ANT_DIV
implicitly.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220321203031.143486-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/rtw_mlme_ext.h