Commit c6e9da9d authored by David Tadokoro's avatar David Tadokoro Committed by Greg Kroah-Hartman
Browse files

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: default avatarDavid Tadokoro <davidbtadokoro@usp.br>
Link: https://lore.kernel.org/r/20230528154010.3068-1-davidbtadokoro@usp.br


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 71b6b438
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;