Commit 5f5aa17e authored by simran singhal's avatar simran singhal Committed by Greg Kroah-Hartman

staging: rtl8192u: Fix RETURN_VOID warnings

Fix 'void function return statements are not generally useful'
checkpatch.pl warnings.
Signed-off-by: default avatarsimran singhal <singhalsimran0@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent edcba2d9
...@@ -258,7 +258,6 @@ static void ieee80211_send_ADDBAReq(struct ieee80211_device *ieee, ...@@ -258,7 +258,6 @@ static void ieee80211_send_ADDBAReq(struct ieee80211_device *ieee,
else { else {
IEEE80211_DEBUG(IEEE80211_DL_ERR, "alloc skb error in function %s()\n", __func__); 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, ...@@ -308,7 +307,6 @@ static void ieee80211_send_DELBA(struct ieee80211_device *ieee, u8 *dst,
else { else {
IEEE80211_DEBUG(IEEE80211_DL_ERR, "alloc skb error in function %s()\n", __func__); IEEE80211_DEBUG(IEEE80211_DL_ERR, "alloc skb error in function %s()\n", __func__);
} }
return ;
} }
/******************************************************************************************************************** /********************************************************************************************************************
...@@ -708,5 +706,4 @@ void RxBaInactTimeout(unsigned long data) ...@@ -708,5 +706,4 @@ void RxBaInactTimeout(unsigned long data)
&pRxTs->RxAdmittedBARecord, &pRxTs->RxAdmittedBARecord,
RX_DIR, RX_DIR,
DELBA_REASON_TIMEOUT); DELBA_REASON_TIMEOUT);
return ;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment