summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-04-24 09:41:33 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-04-24 09:41:33 +0000
commita41594e8dfa029cfba9c518d6c21551f5e0857bc (patch)
treec217c982642b52d7135a800eec75b5df04b759ae /tests
parent01178567ebc428fcf8eb53a62b5ca9c449980491 (diff)
Remove #if 0'd code and some unused string functions
Diffstat (limited to 'tests')
-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)
{