util: Remove container_of

This commit is contained in:
Denis Kenzior 2019-04-03 11:48:27 -05:00
parent f8af73f2c7
commit 5c9e6b255f
1 changed files with 0 additions and 4 deletions

View File

@ -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]