]> 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)
commit82617257ae6d9f84284d2dc93f19f340032b0489
tree32f770c9ebf966b30adadacb841e727ebe85d2f0
parent4003a4b8ceb04c7af02328270fdd24775cbf7147
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