staging: r8188eu: rtw_action_public_decache's token is a u8
authorMartin Kaiser <martin@kaiser.cx>
Sun, 30 Oct 2022 17:33:25 +0000 (18:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Oct 2022 08:09:05 +0000 (09:09 +0100)
commit9001c5029dded946e7862e5785278f7c1d9dfe55
tree11a819485b7c0d2bb43472fa842f3af268832771
parent8161a8335821bb6944eef2de8b750544d59c49c2
staging: r8188eu: rtw_action_public_decache's token is a u8

Both callers of rtw_action_public_decache pass a u8 value for the token
parameter. We can change token from s32 to u8 and remove the code for
token < 0.

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-13-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c