staging: rtl8723bs: Remove commented code
authorJavier F. Arias <jarias.linux@gmail.com>
Tue, 8 Oct 2019 02:52:23 +0000 (21:52 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Oct 2019 12:48:42 +0000 (14:48 +0200)
Remove commented code for a cleaner file. Issue found by checkpatch.

Signed-off-by: Javier F. Arias <jarias.linux@gmail.com>
Link: https://lore.kernel.org/r/20191008025221.q4j4igctqjowur2s@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_xmit.c

index 6190ef0..43d663c 100644 (file)
@@ -2690,14 +2690,6 @@ void wakeup_sta_to_xmit(struct adapter *padapter, struct sta_info *psta)
 
                pxmitframe->attrib.triggered = 1;
 
-/*
-               spin_unlock_bh(&psta->sleep_q.lock);
-               if (rtw_hal_xmit(padapter, pxmitframe) == true)
-               {
-                       rtw_os_xmit_complete(padapter, pxmitframe);
-               }
-               spin_lock_bh(&psta->sleep_q.lock);
-*/
                rtw_hal_xmitframe_enqueue(padapter, pxmitframe);