[PATCH libdrm 1/2] xf86drmMode: remove unused valgrind(VG) macros

Emil Velikov emil.l.velikov at gmail.com
Mon Jun 22 10:58:05 PDT 2015


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 xf86drmMode.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/xf86drmMode.c b/xf86drmMode.c
index 1333da4..30ef6f2 100644
--- a/xf86drmMode.c
+++ b/xf86drmMode.c
@@ -53,14 +53,6 @@
 #include <unistd.h>
 #include <errno.h>
 
-#ifdef HAVE_VALGRIND
-#include <valgrind.h>
-#include <memcheck.h>
-#define VG(x) x
-#else
-#define VG(x)
-#endif
-
 #define memclear(s) memset(&s, 0, sizeof(s))
 
 #define U642VOID(x) ((void *)(unsigned long)(x))
-- 
2.1.3



More information about the dri-devel mailing list