diff options
Diffstat (limited to 'dix/extension.c')
-rw-r--r-- | dix/extension.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/dix/extension.c b/dix/extension.c index c7bbac5ff..b677cdb86 100644 --- a/dix/extension.c +++ b/dix/extension.c @@ -228,20 +228,6 @@ StandardMinorOpcode(ClientPtr client) return ((xReq *)client->requestBuffer)->data; } -unsigned short -MinorOpcodeOfRequest(ClientPtr client) -{ - unsigned char major; - - major = ((xReq *)client->requestBuffer)->reqType; - if (major < EXTENSION_BASE) - return 0; - major -= EXTENSION_BASE; - if (major >= NumExtensions) - return 0; - return (*extensions[major]->MinorOpcode)(client); -} - void CloseDownExtensions(void) { |