From 75ce7c6be0514d60030e0e638b490c6ee9099d37 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 3 Jul 2024 19:26:38 +0200 Subject: [PATCH] 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 --- Xext/shm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Xext/shm.c b/Xext/shm.c index 681d38fb21..acda30349e 100644 --- a/Xext/shm.c +++ b/Xext/shm.c @@ -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);