staging: r8188eu: remove unnecessary return
authorMartin Kaiser <martin@kaiser.cx>
Sat, 15 Oct 2022 15:24:38 +0000 (17:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Oct 2022 15:35:03 +0000 (17:35 +0200)
commit6325d858c48d2fefe1c93da36f74b506d7abf71d
tree64f6f0660277f008ae22543894289ea0378c5f48
parentece8119070de777c7a1685211c8056a2ce6d3df8
staging: r8188eu: remove unnecessary return

Remove the return statement at the end of the if branch. We can continue
to the final return after the if-else.

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