staging: r8188eu: cur_ant is set but never used
authorMichael Straube <straube.linux@gmail.com>
Tue, 5 Apr 2022 10:49:07 +0000 (12:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Apr 2022 14:11:32 +0000 (16:11 +0200)
commita290d640a303773e78e30a90e811f643a519b8ad
tree7864ae9a6bed863bdc27e4e628b1b309c7b1a827
parent2025f3c9a9079698e57b527b130f096f51c90f97
staging: r8188eu: cur_ant is set but never used

In rtw_select_and_join_from_scanned_queue() the local variable cur_ant
is set but never used. Remove the variable and related dead code.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220405104910.9769-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme.c