mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
staging: rtl8723bs: remove unused DBG_XMIT_BUF and DBG_XMIT_BUF_EXT code
Remove the DBG_XMIT_BUF and DBG_XMIT_BUF_EXT code since it is not used as the macros are not defined anywhere. Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org> Link: https://patch.msgid.link/20260515151253.8106-2-khomenkov@mailbox.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
16e3162240
commit
f25efd7794
|
|
@ -191,10 +191,6 @@ s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter)
|
|||
|
||||
list_add_tail(&pxmitbuf->list,
|
||||
&pxmitpriv->free_xmitbuf_queue.queue);
|
||||
#ifdef DBG_XMIT_BUF
|
||||
pxmitbuf->no = i;
|
||||
#endif
|
||||
|
||||
pxmitbuf++;
|
||||
}
|
||||
|
||||
|
|
@ -264,9 +260,6 @@ s32 _rtw_init_xmit_priv(struct xmit_priv *pxmitpriv, struct adapter *padapter)
|
|||
|
||||
list_add_tail(&pxmitbuf->list,
|
||||
&pxmitpriv->free_xmit_extbuf_queue.queue);
|
||||
#ifdef DBG_XMIT_BUF_EXT
|
||||
pxmitbuf->no = i;
|
||||
#endif
|
||||
pxmitbuf++;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -256,11 +256,6 @@ static s32 xmit_xmitframes(struct adapter *padapter, struct xmit_priv *pxmitpriv
|
|||
|
||||
pxmitbuf = rtw_alloc_xmitbuf(pxmitpriv);
|
||||
if (!pxmitbuf) {
|
||||
#ifdef DBG_XMIT_BUF
|
||||
netdev_err(padapter->pnetdev,
|
||||
"%s: xmit_buf is not enough!\n",
|
||||
__func__);
|
||||
#endif
|
||||
err = -2;
|
||||
complete(&(pxmitpriv->xmit_comp));
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -254,11 +254,6 @@ struct xmit_buf {
|
|||
u32 ff_hwaddr;
|
||||
u8 pg_num;
|
||||
u8 agg_num;
|
||||
|
||||
#if defined(DBG_XMIT_BUF) || defined(DBG_XMIT_BUF_EXT)
|
||||
u8 no;
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user