staging: r8188eu: remove empty function rtl8188eu_free_xmit_priv
authorPhillip Potter <phil@philpotter.co.uk>
Wed, 18 Aug 2021 23:42:51 +0000 (00:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Aug 2021 05:42:07 +0000 (07:42 +0200)
commit23b752dfa305bfc98685ee288b805615ab284482
tree06d8e5531eefe9de5666b4e2f3a80efe0385bfb7
parentc05d31893f700ea508e7c82d458375456ad287dd
staging: r8188eu: remove empty function rtl8188eu_free_xmit_priv

Remove empty function rtl8188eu_free_xmit_priv from hal/rtl8188eu_xmit.c
and its declaration from include/rtl8188e_xmit.h, as well as the one
place where it is stored in the free_xmit_priv function pointer of the
HalFunc struct inside padapter. This is safe, as the wrapper function
checks for NULL before calling this function via the function pointer.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210818234253.208271-5-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188eu_xmit.c
drivers/staging/r8188eu/hal/usb_halinit.c
drivers/staging/r8188eu/include/rtl8188e_xmit.h