staging: r8188eu: core: remove condition with no effect
authorSaurav Girepunje <saurav.girepunje@gmail.com>
Sun, 29 Aug 2021 09:01:15 +0000 (14:31 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:43 +0000 (08:49 +0200)
commit2fb077cd5ab2539e7a7ae9cc82c6211ba6d3dc7c
treec70c7e1b37f1cd4522d220f50820c3c929d1ad28
parentb26232553963d06c55f6e7ed2e765d332fc4f401
staging: r8188eu: core: remove condition with no effect

Remove the condition with no effect (if == else) and group multiple
cases which execute same statement in rtw_mlme_ext.c

Reviewed-by: Pavel Skripkin <paskripkin@gmail.com>
Acked-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Link: https://lore.kernel.org/r/YStM2wxtkDAnRemt@user
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c