aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Ismirlian <dismirlian (at) google's mail.com>2017-07-09 19:49:56 -0300
committerDiego Ismirlian <dismirlian (at) google's mail.com>2017-07-09 19:49:56 -0300
commit442b723c127c7e5b808862a50de12d9e49ccf3bf (patch)
treeac133007894304255046b75912cda9b427ab71e7
parent65966b4cd4ff8614df295708d589b0cf2d907ace (diff)
downloadChibiOS-Contrib-442b723c127c7e5b808862a50de12d9e49ccf3bf.tar.gz
ChibiOS-Contrib-442b723c127c7e5b808862a50de12d9e49ccf3bf.tar.bz2
ChibiOS-Contrib-442b723c127c7e5b808862a50de12d9e49ccf3bf.zip
USBH: Cleaned up list.h
-rw-r--r--os/hal/include/usbh/list.h6
1 files changed, 0 insertions, 6 deletions
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