Skip to contentSkip to conversation

staging: rtl8192u: Fix RETURN_VOID warnings

PATCH New simran singhal 1 participant 1 message Feb 11, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 11/15 staging: rtl8192u: Fix RETURN_VOID warnings

Fix 'void function return statements are not generally useful' checkpatch.pl warnings.

---
 drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c +0 -3
index c09f3ad..f02eb8e 100644
@@ -258,7 +258,6 @@ static void ieee80211_send_ADDBAReq(struct ieee80211_device *ieee,
 	else {
 		IEEE80211_DEBUG(IEEE80211_DL_ERR, "alloc skb error in function %s()\n", __func__);
 	}
-	return;
 }
 
 /********************************************************************************************************************
@@ -308,7 +307,6 @@ static void ieee80211_send_DELBA(struct ieee80211_device *ieee, u8 *dst,
 	else {
 		IEEE80211_DEBUG(IEEE80211_DL_ERR, "alloc skb error in function %s()\n", __func__);
 	}
-	return ;
 }
 
 /********************************************************************************************************************
@@ -708,5 +706,4 @@ void RxBaInactTimeout(unsigned long data)
 		&pRxTs->RxAdmittedBARecord,
 		RX_DIR,
 		DELBA_REASON_TIMEOUT);
-	return ;
 }
Signature · 1 line
2.7.4