summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712/rtl8712_xmit.c
diff options
context:
space:
mode:
authorJames A Shackleford2014-06-25 04:52:40 +0200
committerGreg Kroah-Hartman2014-06-27 02:33:16 +0200
commitdf353f61afb917ff66b2e784b0ffb85d0ebb29a4 (patch)
tree575754e542fcf48d1daf51e3bff4e8bc1c668cf3 /drivers/staging/rtl8712/rtl8712_xmit.c
parentstaging: rtl8712: remove function get_list_head (diff)
downloadkernel-qcow2-linux-df353f61afb917ff66b2e784b0ffb85d0ebb29a4.tar.gz
kernel-qcow2-linux-df353f61afb917ff66b2e784b0ffb85d0ebb29a4.tar.xz
kernel-qcow2-linux-df353f61afb917ff66b2e784b0ffb85d0ebb29a4.zip
staging: rtl8712: remove wrapper function _queue_empty
_queue_empty is an inline wrapper around list_empty. This patch removes this wrapper function and instead calls list_empty directly. Signed-off-by: James A Shackleford <shack@linux.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl8712_xmit.c')
-rw-r--r--drivers/staging/rtl8712/rtl8712_xmit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl8712_xmit.c b/drivers/staging/rtl8712/rtl8712_xmit.c
index f3d29982a6f8..4ebedb4005cf 100644
--- a/drivers/staging/rtl8712/rtl8712_xmit.c
+++ b/drivers/staging/rtl8712/rtl8712_xmit.c
@@ -224,7 +224,7 @@ static struct xmit_frame *dequeue_xframe_ex(struct xmit_priv *pxmitpriv,
}
sta_plist = sta_plist->next;
/*Remove sta node when there are no pending packets.*/
- if (_queue_empty(pframe_queue)) {
+ if (list_empty(&pframe_queue->queue)) {
/* must be done after sta_plist->next
* and before break
*/