staging: r8188eu: remove rtw_buf_free() function
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Jul 2021 09:24:13 +0000 (11:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Jul 2021 14:10:39 +0000 (16:10 +0200)
commitc7e88ecbe328e2bcd892d84c4b26eff86cb776ef
tree42e0dcf9ecf8bf57e75aa04ab7f9eeccb3d5f55e
parentb6f700b4b12ea3abcde3726de7483190a06c9ddd
staging: r8188eu: remove rtw_buf_free() function

It is just a wrapper around kfree(), so just replace all calls with
kfree() instead.  The pointer is also set to NULL and the length set to
0 to emulate the original logic, just to be "safe" as I do not have a
device to test with, but odds are that can be removed later on.

Link: https://lore.kernel.org/r/20210730092417.1014392-8-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme.c
drivers/staging/r8188eu/core/rtw_mlme_ext.c
drivers/staging/r8188eu/include/osdep_service.h
drivers/staging/r8188eu/os_dep/osdep_service.c