summaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/hal
diff options
context:
space:
mode:
authorPhillip Potter <phil@philpotter.co.uk>2021-08-19 00:42:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-19 07:42:07 +0200
commitc5de6c20dd79d774a486958c582d8ef0bc211ab7 (patch)
tree0be858ba4cc9b329e20f40dc8c775869434eb248 /drivers/staging/r8188eu/hal
parent23b752dfa305bfc98685ee288b805615ab284482 (diff)
downloadlinux-c5de6c20dd79d774a486958c582d8ef0bc211ab7.tar.bz2
staging: r8188eu: remove function rtw_hal_free_xmit_priv
Remove function rtw_hal_free_xmit_priv in hal/hal_intf.c and its declaration in include/hal_intf.h, as well as the single call line in core/rtw_xmit.c. This function now essentially checks a function pointer which will always be NULL (due to previous patches) and therefore will never be called. Acked-by: Fabio M. De Francesco <fmdefrancesco@gmail.com> Signed-off-by: Phillip Potter <phil@philpotter.co.uk> Link: https://lore.kernel.org/r/20210818234253.208271-6-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/hal')
-rw-r--r--drivers/staging/r8188eu/hal/hal_intf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/r8188eu/hal/hal_intf.c b/drivers/staging/r8188eu/hal/hal_intf.c
index 47af081bafcd..a6d589e89aeb 100644
--- a/drivers/staging/r8188eu/hal/hal_intf.c
+++ b/drivers/staging/r8188eu/hal/hal_intf.c
@@ -226,12 +226,6 @@ s32 rtw_hal_init_xmit_priv(struct adapter *adapt)
return _FAIL;
}
-void rtw_hal_free_xmit_priv(struct adapter *adapt)
-{
- if (adapt->HalFunc.free_xmit_priv)
- adapt->HalFunc.free_xmit_priv(adapt);
-}
-
s32 rtw_hal_init_recv_priv(struct adapter *adapt)
{
if (adapt->HalFunc.init_recv_priv)