staging: r8188eu: convert aes_cipher() to void
authorMichael Straube <straube.linux@gmail.com>
Fri, 11 Nov 2022 08:37:30 +0000 (09:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Nov 2022 18:48:46 +0000 (19:48 +0100)
commit9b35a6926c613457e0dce179871028a0aa6efb06
tree26f3a5f6b2b77d830bc290078cc5f871871476e7
parenta3f3e97a039cab5b7efc754dc2907ab5044c7c88
staging: r8188eu: convert aes_cipher() to void

The function aes_cipher() returns always _SUCCESS and its callers
do not use the return value. So we can convert the return type to
void and get rid of another use of _SUCCESS.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20221111083733.3144-2-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_security.c