]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: clean up rtw_recv_entry
authorMartin Kaiser <martin@kaiser.cx>
Wed, 7 Apr 2021 17:05:27 +0000 (19:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Apr 2021 07:26:32 +0000 (09:26 +0200)
commit1cbafeb272a0bf2a78b9601dfdca8d4a93417e34
tree978413ff627f544a7bc03b0fce9fa46df4093b7d
parent37402c6a6017e8f3f716e3de60a5399f01e4e28c
staging: rtl8188eu: clean up rtw_recv_entry

Change the return type to int, the function returns 0 or 1.
Remove the goto statement, we're not doing any cleanup on exit.
Summarize variable declarations and assignments.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210407170531.29356-6-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_recv.c