summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712/rtl871x_xmit.c
diff options
context:
space:
mode:
authorJames A Shackleford2014-06-25 04:52:35 +0200
committerGreg Kroah-Hartman2014-06-27 02:33:15 +0200
commit9672b1bd831b12869aaa1ae0ede0e45cd18c5272 (patch)
tree51376cb61404994a7671fcedb902c897aa0f0a4d /drivers/staging/rtl8712/rtl871x_xmit.c
parentstaging: rtl8712: remove wrapper function _init_listhead (diff)
downloadkernel-qcow2-linux-9672b1bd831b12869aaa1ae0ede0e45cd18c5272.tar.gz
kernel-qcow2-linux-9672b1bd831b12869aaa1ae0ede0e45cd18c5272.tar.xz
kernel-qcow2-linux-9672b1bd831b12869aaa1ae0ede0e45cd18c5272.zip
staging: rtl8712: remove wrapper function is_list_empty
is_list_empty is just an inline wrapper around list_empty. This patch removes the wrapper and directly uses list_empty instead. Signed-off-by: James A Shackleford <shack@linux.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_xmit.c')
-rw-r--r--drivers/staging/rtl8712/rtl871x_xmit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_xmit.c b/drivers/staging/rtl8712/rtl871x_xmit.c
index 68bfab0f7dd1..989fb67dfb51 100644
--- a/drivers/staging/rtl8712/rtl871x_xmit.c
+++ b/drivers/staging/rtl8712/rtl871x_xmit.c
@@ -939,7 +939,7 @@ sint r8712_xmit_classifier(struct _adapter *padapter,
ptxservq = get_sta_pending(padapter, &pstapending,
psta, pattrib->priority);
spin_lock_irqsave(&pstapending->lock, irqL0);
- if (is_list_empty(&ptxservq->tx_pending))
+ if (list_empty(&ptxservq->tx_pending))
list_insert_tail(&ptxservq->tx_pending,
get_list_head(pstapending));
list_insert_tail(&pxmitframe->list,