summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorsimran singhal <singhalsimran0@gmail.com>2017-02-12 02:26:58 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-12 13:45:01 +0100
commit5f5aa17ea853fd024c02be2dd7423ad6ee2e9504 (patch)
tree1e5f8d200faa9582422b36f6b73196618573fe69 /drivers/staging
parentedcba2d94eff332cbc208cbd0670c974c9dec374 (diff)
downloadlinux-5f5aa17ea853fd024c02be2dd7423ad6ee2e9504.tar.gz
linux-5f5aa17ea853fd024c02be2dd7423ad6ee2e9504.tar.bz2
linux-5f5aa17ea853fd024c02be2dd7423ad6ee2e9504.zip
staging: rtl8192u: Fix RETURN_VOID warnings
Fix 'void function return statements are not generally useful' checkpatch.pl warnings. Signed-off-by: simran singhal <singhalsimran0@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c
index c09f3add9f84..f02eb8ea8f6e 100644
--- a/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c
+++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c
@@ -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 ;
}