staging: r8188eu: merge rtw_free_hwxmits into its only caller
authorMartin Kaiser <martin@kaiser.cx>
Mon, 23 Jan 2023 20:53:42 +0000 (21:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jan 2023 09:10:37 +0000 (10:10 +0100)
commitcfe635af8a1310468d0cce41485759e7604d3bca
tree64bbad4fdbf77ff33c6e9bd0730a99d39dab56c9
parentb87a04c4a8480fd1fcb6f8eb254b0373cb0ca980
staging: r8188eu: merge rtw_free_hwxmits into its only caller

rtw_free_hwxmits is called only by _rtw_free_xmit_priv. We can merge the
two functions and make the code a bit shorter.

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/20230123205342.229589-24-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c
drivers/staging/r8188eu/include/rtw_xmit.h