Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm/dist/bsd-core Remove old drm's containe...



details:   https://anonhg.NetBSD.org/src/rev/101341b45915
branches:  trunk
changeset: 807725:101341b45915
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Apr 20 15:38:13 2015 +0000

description:
Remove old drm's container_of.

diffstat:

 sys/external/bsd/drm/dist/bsd-core/drmP.h |  4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diffs (14 lines):

diff -r c5cb6fa028e3 -r 101341b45915 sys/external/bsd/drm/dist/bsd-core/drmP.h
--- a/sys/external/bsd/drm/dist/bsd-core/drmP.h Mon Apr 20 15:30:41 2015 +0000
+++ b/sys/external/bsd/drm/dist/bsd-core/drmP.h Mon Apr 20 15:38:13 2015 +0000
@@ -267,10 +267,6 @@
 #define IRQ_NONE               0
 #endif
 
-#define container_of(ptr, type, member) ({                     \
-       __typeof( ((type *)0)->member ) *__mptr = (ptr);        \
-       (type *)( (char *)__mptr - offsetof(type,member) );})
-
 enum {
        DRM_IS_NOT_AGP,
        DRM_IS_AGP,



Home | Main Index | Thread Index | Old Index