staging: r8188eu: remove duplicate psta check
authorMartin Kaiser <martin@kaiser.cx>
Fri, 30 Dec 2022 18:06:34 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:31:22 +0000 (19:31 +0100)
commit6dd8420d4be40057b4ad015709a05b01f4fb2335
treee2cb25a893808e504de82041a868558870740879
parenta8dce6b4adc9fe457219415a2fa0eda90134ab23
staging: r8188eu: remove duplicate psta check

We do not need the psta check in the while loop of rtw_xmitframe_coalesce.
psta is already checked near the start of the function and is not modified
afterwards.

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/20221230180646.91008-9-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c