staging: r8188eu: simplify error handling in recv_func_prehandle
authorMartin Kaiser <martin@kaiser.cx>
Sun, 15 May 2022 15:53:59 +0000 (17:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 15:42:23 +0000 (17:42 +0200)
commit4f44756e4fe03aa28894c243548955d2a3420942
tree735e96744394f905bc041ffed65153f11dc9c662
parent619916037480b1f40c9a1a0456c2f960f9686128
staging: r8188eu: simplify error handling in recv_func_prehandle

Simplify the error handling in recv_func_prehandle. There's no need to
goto exit, this would be the next statement anyway.

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