aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKeith Whitwell2003-04-24 04:41:33 -0500
committerKeith Whitwell2003-04-24 04:41:33 -0500
commita41594e8dfa029cfba9c518d6c21551f5e0857bc (patch)
treec217c982642b52d7135a800eec75b5df04b759ae /tests
parent01178567ebc428fcf8eb53a62b5ca9c449980491 (diff)
downloadexternal-libdrm-a41594e8dfa029cfba9c518d6c21551f5e0857bc.tar.gz
external-libdrm-a41594e8dfa029cfba9c518d6c21551f5e0857bc.tar.xz
external-libdrm-a41594e8dfa029cfba9c518d6c21551f5e0857bc.zip
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)
69 drmFreeBusid(busid); 69 drmFreeBusid(busid);
70} 70}
71 71
72#if 0
73typedef struct {
74 unsigned long offset; /* Requested physical address (0 for SAREA)*/
75 unsigned long size; /* Requested physical size (bytes) */
76 drm_map_type_t type; /* Type of memory to map */
77 drm_map_flags_t flags; /* Flags */
78 void *handle; /* User-space: "Handle" to pass to mmap */
79 /* Kernel-space: kernel-virtual address */
80 int mtrr; /* MTRR slot used */
81 /* Private data */
82} drmVmRec, *drmVmPtr;
83#endif
84 72
85static void getvm(int fd) 73static void getvm(int fd)
86{ 74{