lkml.org 
[lkml]   [2014]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH 3/3] staging: rtl8188eu: core: Remove extraneous blank lines
Remove extraneous blank lines in rtw_alloc_xmitbuf_ext().

Signed-off-by: Thomas Vegas <thomas@grouk.net>
---
drivers/staging/rtl8188eu/core/rtw_xmit.c | 9 ---------
1 file changed, 9 deletions(-)

diff --git a/drivers/staging/rtl8188eu/core/rtw_xmit.c b/drivers/staging/rtl8188eu/core/rtw_xmit.c
index 4b93add..101b19f 100644
--- a/drivers/staging/rtl8188eu/core/rtw_xmit.c
+++ b/drivers/staging/rtl8188eu/core/rtw_xmit.c
@@ -1223,31 +1223,22 @@ struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv)
struct list_head *plist, *phead;
struct __queue *pfree_queue = &pxmitpriv->free_xmit_extbuf_queue;

-
spin_lock_irqsave(&pfree_queue->lock, irql);
-
if (_rtw_queue_empty(pfree_queue) == false) {
phead = get_list_head(pfree_queue);
-
plist = phead->next;
-
pxmitbuf = container_of(plist, struct xmit_buf, list);

rtw_list_delete(&pxmitbuf->list);
pxmitpriv->free_xmit_extbuf_cnt--;
-
pxmitbuf->priv_data = NULL;
/* pxmitbuf->ext_tag = true; */
-
if (pxmitbuf->sctx) {
DBG_88E("%s pxmitbuf->sctx is not NULL\n", __func__);
rtw_sctx_done_err(&pxmitbuf->sctx, RTW_SCTX_DONE_BUF_ALLOC);
}
}
-
spin_unlock_irqrestore(&pfree_queue->lock, irql);
-
-
return pxmitbuf;
}

--
1.8.5.5


\
 
 \ /
  Last update: 2014-06-22 13:41    [W:0.034 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site