rtl8188eu: Remove DBG_XMIT_BUF_EXT - not defined

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-20 16:25:28 -05:00
parent 8fcf8a9500
commit d8627b6a67
3 changed files with 1 additions and 17 deletions

View file

@ -1147,9 +1147,6 @@ void _rtw_mp_xmit_priv (struct xmit_priv *pxmitpriv)
} }
rtw_list_insert_tail(&pxmitbuf->list, &(pxmitpriv->free_xmit_extbuf_queue.queue)); rtw_list_insert_tail(&pxmitbuf->list, &(pxmitpriv->free_xmit_extbuf_queue.queue));
#ifdef DBG_XMIT_BUF_EXT
pxmitbuf->no=i;
#endif
pxmitbuf++; pxmitbuf++;
} }

View file

@ -235,11 +235,7 @@ _func_enter_;
} }
rtw_list_insert_tail(&pxmitbuf->list, &(pxmitpriv->free_xmit_extbuf_queue.queue)); rtw_list_insert_tail(&pxmitbuf->list, &(pxmitpriv->free_xmit_extbuf_queue.queue));
#ifdef DBG_XMIT_BUF_EXT
pxmitbuf->no=i;
#endif
pxmitbuf++; pxmitbuf++;
} }
pxmitpriv->free_xmit_extbuf_cnt = num_xmit_extbuf; pxmitpriv->free_xmit_extbuf_cnt = num_xmit_extbuf;
@ -248,9 +244,7 @@ _func_enter_;
rtw_init_hwxmits(pxmitpriv->hwxmits, pxmitpriv->hwxmit_entry); rtw_init_hwxmits(pxmitpriv->hwxmits, pxmitpriv->hwxmit_entry);
for (i = 0; i < 4; i ++) for (i = 0; i < 4; i ++)
{
pxmitpriv->wmm_para_seq[i] = i; pxmitpriv->wmm_para_seq[i] = i;
}
pxmitpriv->txirp_cnt=1; pxmitpriv->txirp_cnt=1;
@ -1484,10 +1478,6 @@ _func_enter_;
if (pxmitbuf != NULL) if (pxmitbuf != NULL)
{ {
pxmitpriv->free_xmit_extbuf_cnt--; pxmitpriv->free_xmit_extbuf_cnt--;
#ifdef DBG_XMIT_BUF_EXT
DBG_88E("DBG_XMIT_BUF_EXT ALLOC no=%d, free_xmit_extbuf_cnt=%d\n",pxmitbuf->no, pxmitpriv->free_xmit_extbuf_cnt);
#endif
pxmitbuf->priv_data = NULL; pxmitbuf->priv_data = NULL;
/* pxmitbuf->ext_tag = true; */ /* pxmitbuf->ext_tag = true; */
@ -1524,9 +1514,6 @@ _func_enter_;
rtw_list_insert_tail(&(pxmitbuf->list), get_list_head(pfree_queue)); rtw_list_insert_tail(&(pxmitbuf->list), get_list_head(pfree_queue));
pxmitpriv->free_xmit_extbuf_cnt++; pxmitpriv->free_xmit_extbuf_cnt++;
#ifdef DBG_XMIT_BUF_EXT
DBG_88E("DBG_XMIT_BUF_EXT FREE no=%d, free_xmit_extbuf_cnt=%d\n",pxmitbuf->no ,pxmitpriv->free_xmit_extbuf_cnt);
#endif
_exit_critical(&pfree_queue->lock, &irqL); _exit_critical(&pfree_queue->lock, &irqL);

View file

@ -244,7 +244,7 @@ struct xmit_buf
u8 bpending[8]; u8 bpending[8];
sint last[8]; sint last[8];
#if defined(DBG_XMIT_BUF )|| defined(DBG_XMIT_BUF_EXT) #if defined(DBG_XMIT_BUF )
u8 no; u8 no;
#endif #endif
}; };