Xext: selinux: 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 <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639>
(cherry picked from commit 8a5d2a1335)
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-08-06 15:20:25 +02:00 committed by Alan Coopersmith
parent 39e6106de6
commit 98e27c6e36

View file

@ -624,8 +624,6 @@ SProcSELinuxDispatch(ClientPtr client)
{
REQUEST(xReq);
swaps(&stuff->length);
switch (stuff->data) {
case X_SELinuxQueryVersion:
return SProcSELinuxQueryVersion(client);