staging: rtl8723bs: Remove yield call, replace with cond_resched()
authorThomas Avery <tavery321@gmail.com>
Wed, 28 Mar 2018 22:26:34 +0000 (18:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Mar 2018 10:00:15 +0000 (12:00 +0200)
commit049b5e2ae30b3c2f870cc9550af6f9a947fbd5b5
tree8cb99d204e370309715a1222ef6aada081ef3842
parentc22da34a1b9996ffc6aadb4804422e04fe28b7e1
staging: rtl8723bs: Remove yield call, replace with cond_resched()

Remove yield() call. Yield does not guarantee progress, cond_resched()
is a safer alternative

Signed-off-by: Thomas Avery <tavery321@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_pwrctrl.c