Do not include unneeded linux/stddef.h in list.h
This commit is contained in:
parent
4d2a896a7b
commit
3712bf5d0a
|
@ -1,12 +1,6 @@
|
|||
#ifndef _LINUX_LIST_H
|
||||
#define _LINUX_LIST_H
|
||||
|
||||
#include <linux/stddef.h>
|
||||
|
||||
#define LIST_POISON1 ((void *) 0x00100100)
|
||||
#define LIST_POISON2 ((void *) 0x00200200)
|
||||
static inline void prefetch(const void *x) {;}
|
||||
|
||||
/*
|
||||
* Simple doubly linked list implementation.
|
||||
*
|
||||
|
@ -17,6 +11,10 @@ static inline void prefetch(const void *x) {;}
|
|||
* using the generic single-entry routines.
|
||||
*/
|
||||
|
||||
#define LIST_POISON1 ((void *) 0x00100100)
|
||||
#define LIST_POISON2 ((void *) 0x00200200)
|
||||
static inline void prefetch(const void *x) {;}
|
||||
|
||||
struct list_head {
|
||||
struct list_head *next, *prev;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue