staging: r8188eu: use lists for hwxmits
authorMartin Kaiser <martin@kaiser.cx>
Mon, 23 Jan 2023 20:53:37 +0000 (21:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jan 2023 09:10:37 +0000 (10:10 +0100)
commite558c192787ed698c48ec2ae6a56e95eb4084cfd
tree942b0da26e33e7a4b89402bc8ac5390f880ba6fb
parent45bbc110e9b3093a058d5f2dcdba0b22c80d228b
staging: r8188eu: use lists for hwxmits

struct hw_xmit's sta_list points to one of vo, vi, be or bk_pending in
struct xmit_priv. All of these are defined as struct __queue, which is a
list plus a spinlock.

For these components, the spinlock is unused, we need only the list.

This patch converts sta_list and vo, vi, be and bk_pending to struct
list_head.

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