summaryrefslogtreecommitdiff
path: root/dix/registry.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-10-23 20:59:21 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-10-23 20:59:21 -0400
commit0388a59a6ef212c497cc3f64d677b1ca5b410982 (patch)
tree0195e4bf46f9d094a4a5291e6520510477d17b62 /dix/registry.c
parent46521f529841e032e198e5df87974088548a68de (diff)
Revert "registry: special case minor number when looking up core requests."
This reverts commit 31110d6837ee52fd654729d9e5c4b0c5395abab0. This is handled properly by StandardMinorOpcode().
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])