mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00:00
staging: rtl8192e: clean unnecessary braces warning on r8192E_phy.c
Clean a checkpatch.pl warning of type "braces {} are not necessary for single statement blocks" on r8192E_phy.c file. Signed-off-by: David Tadokoro <davidbtadokoro@usp.br> Link: https://lore.kernel.org/r/20230528154010.3068-1-davidbtadokoro@usp.br Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
71b6b438f3
commit
c6e9da9d55
1 changed files with 1 additions and 2 deletions
|
@ -1099,9 +1099,8 @@ static bool _rtl92e_set_rf_power_state(struct net_device *dev,
|
|||
break;
|
||||
}
|
||||
|
||||
if (bResult) {
|
||||
if (bResult)
|
||||
priv->rtllib->rf_power_state = rf_power_state;
|
||||
}
|
||||
|
||||
priv->set_rf_pwr_state_in_progress = false;
|
||||
return bResult;
|
||||
|
|
Loading…
Reference in a new issue