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:
David Tadokoro 2023-05-28 12:40:10 -03:00 committed by Greg Kroah-Hartman
parent 71b6b438f3
commit c6e9da9d55

View file

@ -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;