diff options
| author | Andrew Morton <akpm@digeo.com> | 2002-10-04 20:34:40 -0700 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2002-10-04 20:34:40 -0700 |
| commit | 9d66d9e91730e97f653c3143b637f1d63605f074 (patch) | |
| tree | bd1e203df257f7c70df9afefa75ccd54ee7ec0cb /include/linux | |
| parent | db12b88f15a4fd46daf4e75645b74eeb93e518d3 (diff) | |
[PATCH] remove debug code from list_del()
It hasn't caught any bugs, and it is causing confusion over whether
this is a permanent part of list_del() behaviour.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/list.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/list.h b/include/linux/list.h index bd6f0ac3fb6b..634aab6c4c94 100644 --- a/include/linux/list.h +++ b/include/linux/list.h @@ -86,13 +86,12 @@ static inline void __list_del(struct list_head * prev, struct list_head * next) /** * list_del - deletes entry from list. * @entry: the element to delete from the list. - * Note: list_empty on entry does not return true after this, the entry is in an undefined state. + * Note: list_empty on entry does not return true after this, the entry is + * in an undefined state. */ static inline void list_del(struct list_head *entry) { __list_del(entry->prev, entry->next); - entry->next = (void *) 0; - entry->prev = (void *) 0; } /** |
