diff options
author | David Tadokoro <davidbtadokoro@usp.br> | 2023-05-28 18:40:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-28 18:59:29 +0300 |
commit | c6e9da9d556673b07e0ba4f00580904286787f22 (patch) | |
tree | 1613fe1bfc30f636829941a7dcc6e660b5947ca4 | |
parent | 71b6b438f301733c150508f656e1cdb5285067e6 (diff) | |
download | linux-c6e9da9d556673b07e0ba4f00580904286787f22.tar.xz |
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>
-rw-r--r-- | drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 3 |
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; |