Xext: shm: drop duplicate call to SetReqFd

Not necessary to call it in SProcShmAttachFd(), it's already done
in ProcShmAttach(), which is called by this function anyways.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-07-03 19:26:38 +02:00
parent a074d3e3f2
commit 75ce7c6be0

View File

@@ -1480,7 +1480,6 @@ static int _X_COLD
SProcShmAttachFd(ClientPtr client)
{
REQUEST(xShmAttachFdReq);
SetReqFds(client, 1);
REQUEST_SIZE_MATCH(xShmAttachFdReq);
swapl(&stuff->shmseg);
return ProcShmAttachFd(client);