From: Thomas Vegas <thomas@grouk.net>
To: gregkh@linuxfoundation.org
Cc: Thomas Vegas <thomas@grouk.net>,
Larry.Finger@lwfinger.net, navin.patidar@gmail.com,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org
Subject: [PATCH 3/3] staging: rtl8188eu: core: Remove extraneous blank lines
Date: Sun, 22 Jun 2014 13:01:52 +0200 [thread overview]
Message-ID: <1403434912-21655-3-git-send-email-thomas@grouk.net> (raw)
In-Reply-To: <1403434912-21655-1-git-send-email-thomas@grouk.net>
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
next prev parent reply other threads:[~2014-06-22 10:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-22 11:01 [PATCH 1/3] staging: rtl8188eu: core: Remove unnecessary conditionals Thomas Vegas
2014-06-22 11:01 ` [PATCH 2/3] staging: rtl8188eu: core: Remove unnecessary parentheses Thomas Vegas
2014-06-22 11:01 ` Thomas Vegas [this message]
2014-06-27 0:30 ` [PATCH 1/3] staging: rtl8188eu: core: Remove unnecessary conditionals Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1403434912-21655-3-git-send-email-thomas@grouk.net \
--to=thomas@grouk.net \
--cc=Larry.Finger@lwfinger.net \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=navin.patidar@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®