xf86drmMode: remove unused valgrind(VG) macros
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>main
parent
32471b265c
commit
8426967d4e
|
@ -56,14 +56,6 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <errno.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 memclear(s) memset(&s, 0, sizeof(s))
|
||||||
|
|
||||||
#define U642VOID(x) ((void *)(unsigned long)(x))
|
#define U642VOID(x) ((void *)(unsigned long)(x))
|
||||||
|
|
Loading…
Reference in New Issue