]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite54889bbb828a6f5e6227d2b0b2a6ee48953dff5
tree32f770c9ebf966b30adadacb841e727ebe85d2f0
parent5721763a5c9003b05ff3dd9a55429791a7e04802
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