staging: r8188eu: this endless loop is executed only once
authorMartin Kaiser <martin@kaiser.cx>
Wed, 8 Sep 2021 08:57:47 +0000 (10:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:54 +0000 (08:49 +0200)
commiteb01e81fe1cc77e0a048697d814f6e089c2b07f5
tree0ed9155b426140b5321aaaf8e1d06bdb9212dc3a
parentdb4e963a774c26a0ec44249afa9f7711cda72f53
staging: r8188eu: this endless loop is executed only once

There's a funny "loop" in rtl8188eu_xmitframe_complete. It looks like

do {
  ... some commands...
  break;
} while (1);

Remove it.

Acked-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210908085747.32254-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188eu_xmit.c