From 643f91266e795a12f8cfb0ce07601ed2d3aa4415 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 6 Aug 2024 15:25:57 +0200 Subject: [PATCH] xwin: 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: --- hw/xwin/dri/windowsdri.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hw/xwin/dri/windowsdri.c b/hw/xwin/dri/windowsdri.c index 5ed4450da..5d4c5ea54 100644 --- a/hw/xwin/dri/windowsdri.c +++ b/hw/xwin/dri/windowsdri.c @@ -189,7 +189,6 @@ static int SProcWindowsDRIQueryVersion(ClientPtr client) { REQUEST(xWindowsDRIQueryVersionReq); - swaps(&stuff->length); return ProcWindowsDRIQueryVersion(client); } @@ -197,7 +196,6 @@ static int SProcWindowsDRIQueryDirectRenderingCapable(ClientPtr client) { REQUEST(xWindowsDRIQueryDirectRenderingCapableReq); - swaps(&stuff->length); swapl(&stuff->screen); return ProcWindowsDRIQueryDirectRenderingCapable(client); } @@ -206,7 +204,6 @@ static int SProcWindowsDRIQueryDrawable(ClientPtr client) { REQUEST(xWindowsDRIQueryDrawableReq); - swaps(&stuff->length); swapl(&stuff->screen); swapl(&stuff->drawable); return ProcWindowsDRIQueryDrawable(client); @@ -216,7 +213,6 @@ static int SProcWindowsDRIFBConfigToPixelFormat(ClientPtr client) { REQUEST(xWindowsDRIFBConfigToPixelFormatReq); - swaps(&stuff->length); swapl(&stuff->screen); swapl(&stuff->fbConfigID); return ProcWindowsDRIFBConfigToPixelFormat(client);