]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: rtl8192u: Fix RETURN_VOID warnings
authorsimran singhal <singhalsimran0@gmail.com>
Sat, 11 Feb 2017 20:56:58 +0000 (02:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Feb 2017 12:45:01 +0000 (13:45 +0100)
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>
drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c

index c09f3add9f84e85957135422a13b7c2472a725ee..f02eb8ea8f6e435f84e2baa49e5618e5747fec2d 100644 (file)
@@ -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 ;
 }