forked from Minki/linux
staging: r8188eu: remove unnecessary braces in if statements
Braces are not necessary for single statement blocks. Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Marcelo Aloisio da Silva <marcelo.as@aol.com> Link: https://lore.kernel.org/r/20220220174150.GA11496@snoopy Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c4b5dfd840
commit
7c6444d8e0
@ -1391,14 +1391,12 @@ void rtw_dynamic_check_timer_handlder(struct adapter *adapter)
|
||||
/* expire NAT2.5 entry */
|
||||
nat25_db_expire(adapter);
|
||||
|
||||
if (adapter->pppoe_connection_in_progress > 0) {
|
||||
if (adapter->pppoe_connection_in_progress > 0)
|
||||
adapter->pppoe_connection_in_progress--;
|
||||
}
|
||||
|
||||
/* due to rtw_dynamic_check_timer_handlder() is called every 2 seconds */
|
||||
if (adapter->pppoe_connection_in_progress > 0) {
|
||||
if (adapter->pppoe_connection_in_progress > 0)
|
||||
adapter->pppoe_connection_in_progress--;
|
||||
}
|
||||
}
|
||||
|
||||
rcu_read_unlock();
|
||||
|
Loading…
Reference in New Issue
Block a user