diff options
author | Keith Whitwell | 2003-04-24 04:41:33 -0500 |
---|---|---|
committer | Keith Whitwell | 2003-04-24 04:41:33 -0500 |
commit | a41594e8dfa029cfba9c518d6c21551f5e0857bc (patch) | |
tree | c217c982642b52d7135a800eec75b5df04b759ae /tests/dristat.c | |
parent | 01178567ebc428fcf8eb53a62b5ca9c449980491 (diff) | |
download | external-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/dristat.c')
-rw-r--r-- | tests/dristat.c | 12 |
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 | ||
73 | typedef 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 | ||
85 | static void getvm(int fd) | 73 | static void getvm(int fd) |
86 | { | 74 | { |