diff options
author | James A Shackleford <shack@linux.com> | 2014-06-25 06:52:38 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-27 04:33:16 +0400 |
commit | 849fb0a8878336732165eb482d3f0e8a4f71dd03 (patch) | |
tree | 08e76809f783956bf0e8276cc77e35289b3b2741 /drivers/staging/rtl8712/osdep_service.h | |
parent | 29197b7c45a144883d87cb8eaf337026cd886a20 (diff) | |
download | linux-849fb0a8878336732165eb482d3f0e8a4f71dd03.tar.xz |
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/osdep_service.h')
-rw-r--r-- | drivers/staging/rtl8712/osdep_service.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h index 99b7006843ba..6f1bd47e67c5 100644 --- a/drivers/staging/rtl8712/osdep_service.h +++ b/drivers/staging/rtl8712/osdep_service.h @@ -58,11 +58,6 @@ struct __queue { spin_lock_init(&((pqueue)->lock)); \ } while (0) -static inline struct list_head *get_next(struct list_head *list) -{ - return list->next; -} - static inline struct list_head *get_list_head(struct __queue *queue) { return &(queue->queue); |