]> 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)
commitcbfc3d07bf65c4b140e035e1b0d00409b168c223
treec27bd873894b1e83e37dbbf5f59ac0f9f8eadf09
parentd356b44a36a0e03808bf62f9355eff33097a6aed
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