Staging: rtl8188eu: core: Deleted {}
PATCH 1/1 Staging: rtl8188eu: core: Deleted {}
Deleted {}.Because braces {} are not necessary for single statement blocks
This warning found with checkpatch.pl
Signed-off-by Hatice ERTURK <[email protected]>
--- drivers/staging/rtl8188eu/core/rtw_pwrctrl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rtl8188eu/core/rtw_pwrctrl.c +2 -2
@@ -185,9 +185,9 @@ int ips_leave(struct adapter *padapter)DBG_88E ("==>ips_leave cnts:%d\n" , pwrpriv->ips_leave_cnts); result =rtw_ips_pwr_up (padapter); -if (result == _SUCCESS) { +if (result == _SUCCESS) pwrpriv->rf_pwrstate = rf_on; - } +DBG_88E_LEVEL (_drv_info_,"nolinked power save leave\n" );if ((_WEP40_ == psecuritypriv->dot11PrivacyAlgrthm) || (_WEP104_ == psecuritypriv->dot11PrivacyAlgrthm)) {
Signature · 1 line
1.9.1