staging: r8188eu: os_dep: simplifiy the rtw_resume function
authorSaurav Girepunje <saurav.girepunje@gmail.com>
Fri, 10 Sep 2021 09:12:56 +0000 (14:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:56 +0000 (08:49 +0200)
commit3e457d3f6193066eb472709989c160048d987958
tree8d997945b8216833634f3d0da6a7543a8e1b8485
parentb157483ea41c8ec09e6e0cde131ca9f46c0664fe
staging: r8188eu: os_dep: simplifiy the rtw_resume function

Remove unused variable ret and pwrpriv.
Remove the condition with no effect (if == else) in usb_intf.c
file.
Remove rtw_resume_process() and move whole thing to rtw_resume().
Remove the padapter NULL check which couldn't NULL in rtw_resume function.

Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Link: https://lore.kernel.org/r/YTshmPcZr/aVclHK@user
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/usb_osintf.h
drivers/staging/r8188eu/os_dep/usb_intf.c