mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-04 00:23:14 +02:00
- Make it possible for nodes which have been delinked to be linked to other lists.
This commit is contained in:
+2
-3
@@ -113,9 +113,8 @@ static inline void __list_del_entry(struct list_head *entry)
|
||||
|
||||
static inline void list_del(struct list_head *entry)
|
||||
{
|
||||
__list_del(entry->prev, entry->next);
|
||||
entry->next = NULL;
|
||||
entry->prev = NULL;
|
||||
__list_del_entry(entry);
|
||||
INIT_LIST_HEAD(entry);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user