]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf12c1c98ea64514d188eb18b413d19d6d9f20085
treec27bd873894b1e83e37dbbf5f59ac0f9f8eadf09
parent55691be1beb1b189fda71c68283ad03d667cc6b4
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