staging: r8188eu: remove unnecessary else branch
authorMartin Kaiser <martin@kaiser.cx>
Mon, 24 Oct 2022 08:14:14 +0000 (10:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Oct 2022 17:19:39 +0000 (19:19 +0200)
commit3cf90ead512362a1b2b4b9a0d48ec47ca26744c2
tree0043c5c453102c8f08d044ffac04ca37a11cc73a
parent2d64ae536ef0c78924fdd99e0bb3018d7b6b3178
staging: r8188eu: remove unnecessary else branch

Remove an else branch in OnAuthClient that is not needed.

If we go into the else branch, go2asoc is 0. We can simply continue and
the last if condition will be false.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20221024081417.66441-15-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c