staging: r8188eu: use list_empty
authorMartin Kaiser <martin@kaiser.cx>
Mon, 23 Jan 2023 20:53:29 +0000 (21:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jan 2023 09:10:36 +0000 (10:10 +0100)
commitd5986148e802d1704720202b1e1c94d69c936ebd
tree8c98d8c70245b52681bd807a700b0fee6174e724
parentcbdd52099d66d387e67cef9c78400220c4a5d9f4
staging: r8188eu: use list_empty

Use list_empty to check for an empty list instead of coding the check
manually.

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