summaryrefslogtreecommitdiff
path: root/dix/registry.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/registry.c')
-rw-r--r--dix/registry.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/dix/registry.c b/dix/registry.c
index 01818582e..48e1b5dae 100644
--- a/dix/registry.c
+++ b/dix/registry.c
@@ -123,8 +123,6 @@ RegisterResourceName(RESTYPE resource, const char *name)
const char *
LookupRequestName(int major, int minor)
{
- if (major < 128)
- minor = 0;
if (major >= nmajor)
return XREGISTRY_UNKNOWN;
if (minor >= nminor[major])