aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2015-06-22 12:58:05 -0500
committerEmil Velikov2015-06-29 13:19:22 -0500
commit8426967d4e34ef5924a30166662c60d1003072bd (patch)
treed49eec24f24fac549328f80c8925aee39a4a1a25 /xf86drmMode.c
parent32471b265c6fbce6d519f0420a0ffeb608296502 (diff)
downloadexternal-libdrm-8426967d4e34ef5924a30166662c60d1003072bd.tar.gz
external-libdrm-8426967d4e34ef5924a30166662c60d1003072bd.tar.xz
external-libdrm-8426967d4e34ef5924a30166662c60d1003072bd.zip
xf86drmMode: remove unused valgrind(VG) macros
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'xf86drmMode.c')
-rw-r--r--xf86drmMode.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xf86drmMode.c b/xf86drmMode.c
index 73c86958..206d1c25 100644
--- a/xf86drmMode.c
+++ b/xf86drmMode.c
@@ -56,14 +56,6 @@
56#include <unistd.h> 56#include <unistd.h>
57#include <errno.h> 57#include <errno.h>
58 58
59#ifdef HAVE_VALGRIND
60#include <valgrind.h>
61#include <memcheck.h>
62#define VG(x) x
63#else
64#define VG(x)
65#endif
66
67#define memclear(s) memset(&s, 0, sizeof(s)) 59#define memclear(s) memset(&s, 0, sizeof(s))
68 60
69#define U642VOID(x) ((void *)(unsigned long)(x)) 61#define U642VOID(x) ((void *)(unsigned long)(x))