mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
staging: rtl8192e: Remove set to true while true of bfirst_after_down
Remove set to true while true of bfirst_after_down to shorten code. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/053ab341e80909e81867e42ec4c077e76b762051.1681627603.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bfc1bb7866
commit
93bf41cc8a
|
|
@ -1542,10 +1542,8 @@ static void _rtl92e_dm_check_rf_ctrl_gpio(void *data)
|
|||
if ((priv->up_first_time == 1) || (priv->being_init_adapter))
|
||||
return;
|
||||
|
||||
if (priv->bfirst_after_down) {
|
||||
priv->bfirst_after_down = true;
|
||||
if (priv->bfirst_after_down)
|
||||
return;
|
||||
}
|
||||
|
||||
tmp1byte = rtl92e_readb(dev, GPI);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user