(!1639) 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:
parent
99f02145f0
commit
c266f3ca83
|
@ -1388,12 +1388,6 @@ SShmCompletionEvent(xShmCompletionEvent * from, xShmCompletionEvent * to)
|
||||||
cpswapl(from->offset, to->offset);
|
cpswapl(from->offset, to->offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int _X_COLD
|
|
||||||
SProcShmQueryVersion(ClientPtr client)
|
|
||||||
{
|
|
||||||
return ProcShmQueryVersion(client);
|
|
||||||
}
|
|
||||||
|
|
||||||
static int _X_COLD
|
static int _X_COLD
|
||||||
SProcShmAttach(ClientPtr client)
|
SProcShmAttach(ClientPtr client)
|
||||||
{
|
{
|
||||||
|
@ -1491,7 +1485,7 @@ SProcShmDispatch(ClientPtr client)
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
||||||
if (stuff->data == X_ShmQueryVersion)
|
if (stuff->data == X_ShmQueryVersion)
|
||||||
return SProcShmQueryVersion(client);
|
return ProcShmQueryVersion(client);
|
||||||
|
|
||||||
if (!client->local)
|
if (!client->local)
|
||||||
return BadRequest;
|
return BadRequest;
|
||||||
|
|
Loading…
Reference in New Issue