mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-27 01:34:54 +00:00
(submit/fixup-req-len) Xext: shm: drop now obsolete swap procs
Several SProc's have become no-ops, just calling the actual Proc's, so we can get rid of them entirely. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -1388,12 +1388,6 @@ SShmCompletionEvent(xShmCompletionEvent * from, xShmCompletionEvent * to)
|
||||
cpswapl(from->offset, to->offset);
|
||||
}
|
||||
|
||||
static int _X_COLD
|
||||
SProcShmQueryVersion(ClientPtr client)
|
||||
{
|
||||
return ProcShmQueryVersion(client);
|
||||
}
|
||||
|
||||
static int _X_COLD
|
||||
SProcShmAttach(ClientPtr client)
|
||||
{
|
||||
@@ -1491,7 +1485,7 @@ SProcShmDispatch(ClientPtr client)
|
||||
REQUEST(xReq);
|
||||
|
||||
if (stuff->data == X_ShmQueryVersion)
|
||||
return SProcShmQueryVersion(client);
|
||||
return ProcShmQueryVersion(client);
|
||||
|
||||
if (!client->local)
|
||||
return BadRequest;
|
||||
|
||||
Reference in New Issue
Block a user