aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tadokoro <[email protected]>2023-05-28 12:40:10 -0300
committerGreg Kroah-Hartman <[email protected]>2023-05-28 16:59:29 +0100
commitc6e9da9d556673b07e0ba4f00580904286787f22 (patch)
tree1613fe1bfc30f636829941a7dcc6e660b5947ca4
parent71b6b438f301733c150508f656e1cdb5285067e6 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
index 61fd84ca58d2..641e993aaa86 100644
--- a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
+++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
@@ -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;