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/f2d4b5e4a7f8
branches: trunk
changeset: 337583:f2d4b5e4a7f8
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 7be2d705c0b4 -r f2d4b5e4a7f8 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