summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712/osdep_service.h
diff options
context:
space:
mode:
authorJames A Shackleford2014-06-25 04:52:39 +0200
committerGreg Kroah-Hartman2014-06-27 02:33:16 +0200
commite99a428a1daed550142a08f6acb5265a1d108e65 (patch)
treed816305af85225fcf5d5e0201ef6de2c5ad8828d /drivers/staging/rtl8712/osdep_service.h
parentstaging: rtl8712: remove wrapper function get_next (diff)
downloadkernel-qcow2-linux-e99a428a1daed550142a08f6acb5265a1d108e65.tar.gz
kernel-qcow2-linux-e99a428a1daed550142a08f6acb5265a1d108e65.tar.xz
kernel-qcow2-linux-e99a428a1daed550142a08f6acb5265a1d108e65.zip
staging: rtl8712: remove function get_list_head
get_list_head is an inline that returns &list->head. This patch removes this inline and directly applies &list->head 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.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h
index 6f1bd47e67c5..dc6cde99f7d4 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_list_head(struct __queue *queue)
-{
- return &(queue->queue);
-}
-
#define LIST_CONTAINOR(ptr, type, member) \
((type *)((char *)(ptr)-(SIZE_T)(&((type *)0)->member)))