From 4f56025812ea553bec8f16062c0d22b52938e5c9 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 6 Aug 2024 14:47:06 +0200 Subject: [PATCH] Xext: bigreq: drop swapping request length fields The request struct's length fields aren't used anymore - we have the client->req_len field instead, which also is bigreq-compatible. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- Xext/bigreq.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Xext/bigreq.c b/Xext/bigreq.c index 13114e326..2a3012cf7 100644 --- a/Xext/bigreq.c +++ b/Xext/bigreq.c @@ -47,9 +47,6 @@ ProcBigReqDispatch(ClientPtr client) REQUEST(xBigReqEnableReq); xBigReqEnableReply rep; - if (client->swapped) { - swaps(&stuff->length); - } if (stuff->brReqType != X_BigReqEnable) return BadRequest; REQUEST_SIZE_MATCH(xBigReqEnableReq);