[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1403434912-21655-3-git-send-email-thomas@grouk.net>
Date: Sun, 22 Jun 2014 13:01:52 +0200
From: Thomas Vegas <thomas@...uk.net>
To: gregkh@...uxfoundation.org
Cc: Thomas Vegas <thomas@...uk.net>, Larry.Finger@...inger.net,
navin.patidar@...il.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
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@...uk.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists