Commit 866559c1 authored by Linus Torvalds's avatar Linus Torvalds

Allow <linux/list.h> to be used even without NULL defined yet.

parent 2a8ee63d
......@@ -94,8 +94,8 @@ static __inline__ void __list_del(struct list_head * prev,
static __inline__ void list_del(struct list_head *entry)
{
__list_del(entry->prev, entry->next);
entry->next = NULL;
entry->prev = NULL;
entry->next = (void *) 0;
entry->prev = (void *) 0;
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment