diff options
author | James A Shackleford | 2014-06-25 04:52:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-06-27 02:33:16 +0200 |
commit | 849fb0a8878336732165eb482d3f0e8a4f71dd03 (patch) | |
tree | 08e76809f783956bf0e8276cc77e35289b3b2741 /drivers/staging/rtl8712/rtl871x_ioctl_set.c | |
parent | staging: rtl8712: remove wrapper function list_delete (diff) | |
download | kernel-qcow2-linux-849fb0a8878336732165eb482d3f0e8a4f71dd03.tar.gz kernel-qcow2-linux-849fb0a8878336732165eb482d3f0e8a4f71dd03.tar.xz kernel-qcow2-linux-849fb0a8878336732165eb482d3f0e8a4f71dd03.zip |
staging: rtl8712: remove wrapper function get_next
get_next is just an inline wrapper around return list->next. This
patch removes the wrapper and directly uses list->next where
applicable.
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_ioctl_set.c')
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_ioctl_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_set.c b/drivers/staging/rtl8712/rtl871x_ioctl_set.c index 53a7c8c1bb40..87dce03c7c2b 100644 --- a/drivers/staging/rtl8712/rtl871x_ioctl_set.c +++ b/drivers/staging/rtl8712/rtl871x_ioctl_set.c @@ -63,7 +63,7 @@ static u8 do_join(struct _adapter *padapter) struct __queue *queue = &(pmlmepriv->scanned_queue); phead = get_list_head(queue); - plist = get_next(phead); + plist = phead->next; pmlmepriv->cur_network.join_res = -2; pmlmepriv->fw_state |= _FW_UNDER_LINKING; pmlmepriv->pscanned = plist; |