From 442b723c127c7e5b808862a50de12d9e49ccf3bf Mon Sep 17 00:00:00 2001 From: Diego Ismirlian Date: Sun, 9 Jul 2017 19:49:56 -0300 Subject: USBH: Cleaned up list.h --- os/hal/include/usbh/list.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'os/hal/include') diff --git a/os/hal/include/usbh/list.h b/os/hal/include/usbh/list.h index 6a02f16..cdcca04 100644 --- a/os/hal/include/usbh/list.h +++ b/os/hal/include/usbh/list.h @@ -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 -- cgit v1.2.3