From d8627b6a67fabc31901cfa1bdc64ba098977d792 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Sat, 20 Jul 2013 16:25:28 -0500 Subject: [PATCH] rtl8188eu: Remove DBG_XMIT_BUF_EXT - not defined Signed-off-by: Larry Finger --- core/rtw_mp.c | 3 --- core/rtw_xmit.c | 13 ------------- include/rtw_xmit.h | 2 +- 3 files changed, 1 insertion(+), 17 deletions(-) diff --git a/core/rtw_mp.c b/core/rtw_mp.c index 2e19dd7..c53fa39 100644 --- a/core/rtw_mp.c +++ b/core/rtw_mp.c @@ -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)); - #ifdef DBG_XMIT_BUF_EXT - pxmitbuf->no=i; - #endif pxmitbuf++; } diff --git a/core/rtw_xmit.c b/core/rtw_xmit.c index 5d42523..ee427a2 100644 --- a/core/rtw_xmit.c +++ b/core/rtw_xmit.c @@ -235,11 +235,7 @@ _func_enter_; } rtw_list_insert_tail(&pxmitbuf->list, &(pxmitpriv->free_xmit_extbuf_queue.queue)); - #ifdef DBG_XMIT_BUF_EXT - pxmitbuf->no=i; - #endif pxmitbuf++; - } pxmitpriv->free_xmit_extbuf_cnt = num_xmit_extbuf; @@ -248,9 +244,7 @@ _func_enter_; rtw_init_hwxmits(pxmitpriv->hwxmits, pxmitpriv->hwxmit_entry); for (i = 0; i < 4; i ++) - { pxmitpriv->wmm_para_seq[i] = i; - } pxmitpriv->txirp_cnt=1; @@ -1484,10 +1478,6 @@ _func_enter_; if (pxmitbuf != NULL) { 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->ext_tag = true; */ @@ -1524,9 +1514,6 @@ _func_enter_; rtw_list_insert_tail(&(pxmitbuf->list), get_list_head(pfree_queue)); 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); diff --git a/include/rtw_xmit.h b/include/rtw_xmit.h index 493a5b5..9f2e294 100644 --- a/include/rtw_xmit.h +++ b/include/rtw_xmit.h @@ -244,7 +244,7 @@ struct xmit_buf u8 bpending[8]; sint last[8]; -#if defined(DBG_XMIT_BUF )|| defined(DBG_XMIT_BUF_EXT) +#if defined(DBG_XMIT_BUF ) u8 no; #endif };