staging: rtl8723bs: remove pointless if else in rtw_sdio_resume()
authorMichael Straube <straube.linux@gmail.com>
Thu, 28 Jun 2018 17:02:52 +0000 (19:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Jul 2018 08:39:07 +0000 (10:39 +0200)
commit0a561b0f91d2820c6054eb620af755b9dd39b35e
treec27bd873894b1e83e37dbbf5f59ac0f9f8eadf09
parent3b41f9bc8076f0b6c323b3af2f2b05152ef54c0f
staging: rtl8723bs: remove pointless if else in rtw_sdio_resume()

Whether any of the conditions is true or not, the return variable
is always set to rtw_resume_process(padapter). Replace the if else
construct with a single call to rtw_resume_process(). Also remove
the now unused local variable pwrpriv.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/sdio_intf.c