]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: rtw_is_scan_deny is always false
authorMartin Kaiser <martin@kaiser.cx>
Sat, 10 Sep 2022 18:02:36 +0000 (20:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Sep 2022 11:57:23 +0000 (13:57 +0200)
commit7a4d1a9a745900904a8d6c75fafd4ab09290ffbc
tree8bc8610cc54faa20fb1e680b2bffc67da403c76e
parent79bb14faf00e92e8d018e3f2917094c7dfcb0096
staging: r8188eu: rtw_is_scan_deny is always false

The rtw_is_scan_deny macro returns false. Remove the macro and resulting
dead code.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Acked-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220910180236.489808-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_ioctl_set.c
drivers/staging/r8188eu/include/rtw_mlme.h