mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
staging: rtl8723bs: remove unused _rtw_init_queue() function header
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>
This commit is contained in:
parent
b8b6a662bc
commit
67aa92b095
|
|
@ -21,9 +21,6 @@ void _rtw_init_sta_recv_priv(struct sta_recv_priv *psta_recvpriv)
|
|||
|
||||
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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,7 +67,6 @@ u32 _rtw_init_sta_priv(struct sta_priv *pstapriv)
|
|||
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -98,10 +98,6 @@ s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter)
|
|||
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);
|
||||
|
|
|
|||
|
|
@ -60,8 +60,6 @@ int _rtw_netif_rx(struct net_device *ndev, struct sk_buff *skb);
|
|||
|
||||
#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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user