The _rtw_init_queue() function header is declared in osdep_service.h,
but it is not defined anywhere and all the code using it is commented
out, so we can remove the header and the commented out code.
Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com>
Link: https://patch.msgid.link/20260407143622.9767-3-nikolayof23@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
spin_lock_init(&psta_recvpriv->lock);
- /* for (i = 0; i<MAX_RX_NUMBLKS; i++) */
- /* _rtw_init_queue(&psta_recvpriv->blk_strms[i]); */
-
INIT_LIST_HEAD(&psta_recvpriv->defrag_q.queue);
spin_lock_init(&psta_recvpriv->defrag_q.lock);
}
spin_lock_init(&pstapriv->sta_hash_lock);
- /* _rtw_init_queue(&pstapriv->asoc_q); */
pstapriv->asoc_sta_count = 0;
INIT_LIST_HEAD(&pstapriv->sleep_q.queue);
spin_lock_init(&pstapriv->sleep_q.lock);
init_completion(&pxmitpriv->xmit_comp);
init_completion(&pxmitpriv->terminate_xmitthread_comp);
- /*
- * Please insert all the queue initialization using _rtw_init_queue below
- */
-
pxmitpriv->adapter = padapter;
INIT_LIST_HEAD(&pxmitpriv->be_pending.queue);
#define rtw_netif_rx(ndev, skb) _rtw_netif_rx(ndev, skb)
-extern void _rtw_init_queue(struct __queue *pqueue);
-
static inline void flush_signals_thread(void)
{
if (signal_pending(current))