staging: r8188eu: remove unused else condition
authorJaehee Park <jhpark1013@gmail.com>
Wed, 27 Apr 2022 15:32:03 +0000 (11:32 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 May 2022 21:19:15 +0000 (23:19 +0200)
commit921f9c587013b5b216d9d3802cd3456b11c86524
tree32f770c9ebf966b30adadacb841e727ebe85d2f0
parentfbfa3c632746c3cc6cd3d1b01be5e850ed090029
staging: r8188eu: remove unused else condition

rtw_select_and_join_from_scanned_queue() cannot return '2' so this
else condition is unused. Remove this unnecessary else statement.

Suggested-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: Jaehee Park <jhpark1013@gmail.com>
Link: https://lore.kernel.org/r/20220427153203.GA503502@jaehee-ThinkPad-X1-Extreme
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme.c