Skip to contentSkip to conversation

staging: rtl8192e: clean unnecessary braces warning on r8192E_phy.c

PATCH New David Tadokoro 1 participant 1 message May 28, 2023 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---
V1 -> V2: Revise commit message

 drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +1 -2
index 4b0ebe96302e..ea993cbb7bf7 100644
@@ -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;
Signature · 1 line
2.40.1