diff options
author | James A Shackleford <shack@linux.com> | 2014-06-24 22:52:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-26 20:33:16 -0400 |
commit | 849fb0a8878336732165eb482d3f0e8a4f71dd03 (patch) | |
tree | 08e76809f783956bf0e8276cc77e35289b3b2741 /drivers/staging/rtl8712/rtl871x_ioctl_set.c | |
parent | 29197b7c45a144883d87cb8eaf337026cd886a20 (diff) |
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 53a7c8c1bb4..87dce03c7c2 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; |