staging: r8188eu: change another function param from __queue to list_head
authorMartin Kaiser <martin@kaiser.cx>
Mon, 30 Jan 2023 19:52:57 +0000 (20:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Jan 2023 10:16:56 +0000 (11:16 +0100)
commit5bdc94816bf2988e12f16684d9ba6f4ec466581d
treeaa9aef317f7f0fc00b9121d5a0cec5d315dda0f6
parent5ae3750cca311cc1ae79e1972b0aa2a68b5ed122
staging: r8188eu: change another function param from __queue to list_head

Modify the rtw_free_xmitframe_queue function to take a list_head pointer
instead of a __queue pointer.

This is an intermediate step towards changing struct tx_servq's
sta_pending from __queue to list_head.

Now that the function takes a list instead of a queue, we should also
rename it to rtw_free_xmitframe_list.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20230130195303.138941-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_sta_mgt.c
drivers/staging/r8188eu/core/rtw_xmit.c
drivers/staging/r8188eu/include/rtw_xmit.h