diff options
Diffstat (limited to 'xserver/dix/extension.c')
-rw-r--r-- | xserver/dix/extension.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/xserver/dix/extension.c b/xserver/dix/extension.c index 2db5695f3..d595b8057 100644 --- a/xserver/dix/extension.c +++ b/xserver/dix/extension.c @@ -230,20 +230,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) { |