summaryrefslogtreecommitdiff
path: root/tests/dristat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dristat.c')
-rw-r--r--tests/dristat.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/dristat.c b/tests/dristat.c
index 47193ab4..07ab54ea 100644
--- a/tests/dristat.c
+++ b/tests/dristat.c
@@ -69,18 +69,6 @@ static void getbusid(int fd)
drmFreeBusid(busid);
}
-#if 0
-typedef struct {
- unsigned long offset; /* Requested physical address (0 for SAREA)*/
- unsigned long size; /* Requested physical size (bytes) */
- drm_map_type_t type; /* Type of memory to map */
- drm_map_flags_t flags; /* Flags */
- void *handle; /* User-space: "Handle" to pass to mmap */
- /* Kernel-space: kernel-virtual address */
- int mtrr; /* MTRR slot used */
- /* Private data */
-} drmVmRec, *drmVmPtr;
-#endif
static void getvm(int fd)
{