staging: r8188eu: rtw_free_xmitframe_queue needs no spinlock
authorMartin Kaiser <martin@kaiser.cx>
Mon, 30 Jan 2023 19:52:55 +0000 (20:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Jan 2023 10:16:56 +0000 (11:16 +0100)
commit9bd121f827637485fa32237ff90c882f8915fd1b
tree0bcb9e8e37d1ac9a6cfd7c5885fa6d29333da411
parent0ac62072cfc846fa2daf8c9f29db49577894a2ad
staging: r8188eu: rtw_free_xmitframe_queue needs no spinlock

There's no need for a spinlock in rtw_free_xmitframe_queue.

This function is called only from rtw_free_stainfo. rtw_free_stainfo holds
pxmitpriv->lock during all rtw_free_xmitframe_queue calls.

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