staging: r8188eu: make xmitframe_swencrypt a void function
authorMartin Kaiser <martin@kaiser.cx>
Fri, 30 Dec 2022 18:06:27 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:31:21 +0000 (19:31 +0100)
commit75f697b36116606d134f90cc601aa1220b2a93e4
tree8125efb1351c30411c45c60ff303aa1c473e78c9
parent6803d6cdf2d43948ff08a0d51fcd866bae2f0912
staging: r8188eu: make xmitframe_swencrypt a void function

xmitframe_swencrypt always returns _SUCCESS and the caller does not check
the return value. We can remove the return value and make
xmitframe_swencrypt a void function.

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