mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 22:50:54 -04: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:
committed by
Greg Kroah-Hartman
parent
71b6b438f3
commit
c6e9da9d55
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user