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

If we go into this else branch, go2asoc is 0. We can continue to the end
of the function. The final 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-17-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c