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>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639>
(cherry picked from commit c8c42490b7)
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-08-07 13:53:02 +02:00
committed by Alan Coopersmith
parent 7ed561859e
commit c5dd2cf48f

View File

@@ -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;