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)
commit6b1164553276fbecf587eb1ffb802b7c0288d5ed
tree978413ff627f544a7bc03b0fce9fa46df4093b7d
parent889ed8b5e374780560d778677ba68e6956204101
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