diff --git a/src/util.h b/src/util.h index 48e03f25..d379aa1b 100644 --- a/src/util.h +++ b/src/util.h @@ -28,10 +28,6 @@ #define align_len(len, boundary) (((len)+(boundary)-1) & ~((boundary)-1)) -#define container_of(ptr, type, member) ({ \ - const __typeof__( ((type *)0)->member ) *__mptr = (ptr); \ - (type *)( (char *)__mptr - offsetof(type,member) );}) - #define MAC "%02x:%02x:%02x:%02x:%02x:%02x" #define MAC_STR(a) a[0], a[1], a[2], a[3], a[4], a[5]