staging: r8188eu: remove duplicate category check
authorMartin Kaiser <martin@kaiser.cx>
Sun, 30 Oct 2022 17:33:15 +0000 (18:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Oct 2022 08:09:02 +0000 (09:09 +0100)
commit5998e3192274da5fd9521b1019cc62b5ea2283b7
tree6ef90b608414fc1030e1318346b9e3b856b9359b
parent5c4fb46e9116bd7cf87bd76b417a865626e13c30
staging: r8188eu: remove duplicate category check

The caller of on_action_public has already checked the action category. We
can remove the check in on_action_public.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20221030173326.1588647-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c