USBH: Cleaned up list.h
This commit is contained in:
parent
65966b4cd4
commit
442b723c12
|
@ -41,7 +41,6 @@ static inline void INIT_LIST_HEAD(struct list_head *list)
|
|||
* This is only for internal list manipulation where we know
|
||||
* the prev/next entries already!
|
||||
*/
|
||||
#ifndef CONFIG_DEBUG_LIST
|
||||
static inline void __list_add(struct list_head *_new,
|
||||
struct list_head *prev,
|
||||
struct list_head *next)
|
||||
|
@ -51,11 +50,6 @@ static inline void __list_add(struct list_head *_new,
|
|||
_new->prev = prev;
|
||||
prev->next = _new;
|
||||
}
|
||||
#else
|
||||
extern void __list_add(struct list_head *_new,
|
||||
struct list_head *prev,
|
||||
struct list_head *next);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* list_add - add a new entry
|
||||
|
|
Loading…
Reference in New Issue