staging: rtl8723bs: core: Remove return in void function
authorVatsala Narang <vatsalanarang@gmail.com>
Thu, 25 Apr 2019 19:51:45 +0000 (01:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Apr 2019 13:00:31 +0000 (15:00 +0200)
Remove return in void function to get rid of checkpatch warning.

Signed-off-by: Vatsala Narang <vatsalanarang@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_xmit.c

index b87f13a..2bb679e 100644 (file)
@@ -2861,8 +2861,6 @@ void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *pst
 
        /* spin_unlock_bh(&psta->sleep_q.lock); */
        spin_unlock_bh(&pxmitpriv->lock);
-
-       return;
 }
 
 void enqueue_pending_xmitbuf(