staging: r8188eu: merge rtw_os_recvbuf_resource_free() into rtw_recv.c
authorMichael Straube <straube.linux@gmail.com>
Sun, 7 Aug 2022 18:15:34 +0000 (20:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Aug 2022 13:19:05 +0000 (15:19 +0200)
commit401ae6efe3a21a3812b92eb49ea32a18a4416c50
treeb4fe4fc58079db3b27c6dc82557c0704ea3af5da
parent9a4d0d1c21b974454926c3b832b4728679d818eb
staging: r8188eu: merge rtw_os_recvbuf_resource_free() into rtw_recv.c

The function rtw_os_recvbuf_resource_free() is just a wrapper around
usb_free_urb(). Call usb_free_urb() directly in
rtl8188eu_free_recv_priv() and remove rtw_os_recvbuf_resource_free()
to simplify the driver code.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220807181538.8499-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_recv.c
drivers/staging/r8188eu/include/recv_osdep.h
drivers/staging/r8188eu/os_dep/recv_linux.c