staging: r8188eu: remove unnecessary rtw_free_xmitframe call
authorMartin Kaiser <martin@kaiser.cx>
Fri, 30 Dec 2022 18:06:43 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:31:23 +0000 (19:31 +0100)
commit51cbbb0efe30d0313df66d98b264474a56caea66
treeb2e0b3a764a1a94751a4a7c569e07dcf2b3adb5d
parent26cf6c2c22f0cc10eec468a1ef4f13644fdd480e
staging: r8188eu: remove unnecessary rtw_free_xmitframe call

There's no need to call rtw_free_xmitframe before we dequeue the first
frame. pxmitframe is always NULL at this point, rtw_free_xmitframe will do
nothing in this case.

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/20221230180646.91008-18-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188eu_xmit.c