aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
-rw-r--r--ptrlist.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ptrlist.h b/ptrlist.h
index fbfc0809..58d3bdaa 100644
--- a/ptrlist.h
+++ b/ptrlist.h
@@ -9,9 +9,6 @@
* (C) Copyright Linus Torvalds 2003-2005
*/
-#define container(ptr, type, member) \
- (type *)((void *)(ptr) - offsetof(type, member))
-
/* Silly type-safety check ;) */
#define DECLARE_PTR_LIST(listname,type) struct listname { type *list[1]; }
#define CHECK_TYPE(head,ptr) (void)(&(ptr) == &(head)->list[0])