diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/list.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/list.h b/include/linux/list.h index 6331739453a0..f6ea9d2d9f25 100644 --- a/include/linux/list.h +++ b/include/linux/list.h @@ -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; } /** |
