Skip to contentSkip to conversation

Staging: rtl8723au: Remove return in void function

PATCH New Melike Yurtoglu 1 participant 1 message Feb 25, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: rtl8723au: Remove return in void function

WARNING: void function return statements are not generally useful Remove return in void function. That was found by running checkpatch.

---

v2:removed blank line

 drivers/staging/rtl8723au/hal/hal_com.c | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/rtl8723au/hal/hal_com.c +0 -2
index bf4cae2..a7751c9 100644
@@ -236,8 +236,6 @@ void HalSetBrateCfg23a(struct rtw_adapter *padapter, u8 *mBratesOS)
 	}
 		/*  Ziv - Check */
 	rtl8723au_write8(padapter, REG_INIRTS_RATE_SEL, rate_index);
-
-	return;
 }
 
 static void _OneOutPipeMapping(struct rtw_adapter *pAdapter)
Signature · 1 line
1.8.3.2