staging: r8188eu: Remove unneeded variable ret in rtw_suspend()
authorWan Jiabing <wanjiabing@vivo.com>
Fri, 22 Apr 2022 02:10:38 +0000 (10:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 14:48:31 +0000 (16:48 +0200)
commit8112446bbaa89ed7e2d012e435de0e69569b3e61
tree3add774821b22adb6284b00c908ca79a4a50552d
parent7079b3483a17be2cfba64cbd4feb1b7ae07f1ea7
staging: r8188eu: Remove unneeded variable ret in rtw_suspend()

Fix the following coccicheck error:
drivers/staging/r8188eu/os_dep/usb_intf.c:202:5-8: Unneeded variable: "ret". Return "0" on line 242

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Link: https://lore.kernel.org/r/20220422021046.121870-1-wanjiabing@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/os_dep/usb_intf.c