summaryrefslogtreecommitdiff
path: root/hw/usb_gadget.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb_gadget.h')
-rwxr-xr-xhw/usb_gadget.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/usb_gadget.h b/hw/usb_gadget.h
index 48f6aaf..4c49e70 100755
--- a/hw/usb_gadget.h
+++ b/hw/usb_gadget.h
@@ -36,12 +36,6 @@
*/
#define USB_GADGET_DEVICE_VERSION MAKE_VERSION(0,1)
-#ifndef container_of
-#define container_of(ptr, type, member) ({ \
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- (type *)( (char *)__mptr - offsetof(type,member) );})
-#endif
-
#define _HELPER_Y(x) ((x) & -(x))
/* Count number of trailing zeros using Dean Gaudet's algorithm */