staging: r8188eu: remove a variable
authorMartin Kaiser <martin@kaiser.cx>
Sat, 26 Nov 2022 16:01:29 +0000 (17:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Dec 2022 12:28:59 +0000 (13:28 +0100)
commit17c1202a9e689dc875c864c1f1e8dded70c0a8a0
treefbab43d705ab409e6fc52d61dc30a0aa0db50808
parentdd99fe1f5a8319f0e236c0548cdba849451779d5
staging: r8188eu: remove a variable

Check the result of rtw_check_bcn_info directly and remove the ret
variable.

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