mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-16 08:30:28 +01:00
dbe: 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 9b88a64ba9)
This commit is contained in:
parent
dfe567b40b
commit
0fb1f1fd65
1 changed files with 0 additions and 13 deletions
13
dbe/dbe.c
13
dbe/dbe.c
|
|
@ -816,11 +816,7 @@ ProcDbeDispatch(ClientPtr client)
|
|||
static int _X_COLD
|
||||
SProcDbeGetVersion(ClientPtr client)
|
||||
{
|
||||
REQUEST(xDbeGetVersionReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
return (ProcDbeGetVersion(client));
|
||||
|
||||
} /* SProcDbeGetVersion() */
|
||||
|
||||
/******************************************************************************
|
||||
|
|
@ -850,8 +846,6 @@ static int _X_COLD
|
|||
SProcDbeAllocateBackBufferName(ClientPtr client)
|
||||
{
|
||||
REQUEST(xDbeAllocateBackBufferNameReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xDbeAllocateBackBufferNameReq);
|
||||
|
||||
swapl(&stuff->window);
|
||||
|
|
@ -883,8 +877,6 @@ static int _X_COLD
|
|||
SProcDbeDeallocateBackBufferName(ClientPtr client)
|
||||
{
|
||||
REQUEST(xDbeDeallocateBackBufferNameReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xDbeDeallocateBackBufferNameReq);
|
||||
|
||||
swapl(&stuff->buffer);
|
||||
|
|
@ -921,7 +913,6 @@ SProcDbeSwapBuffers(ClientPtr client)
|
|||
unsigned int i;
|
||||
xDbeSwapInfo *pSwapInfo;
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_AT_LEAST_SIZE(xDbeSwapBuffersReq);
|
||||
|
||||
swapl(&stuff->n);
|
||||
|
|
@ -966,8 +957,6 @@ static int _X_COLD
|
|||
SProcDbeGetVisualInfo(ClientPtr client)
|
||||
{
|
||||
REQUEST(xDbeGetVisualInfoReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_AT_LEAST_SIZE(xDbeGetVisualInfoReq);
|
||||
|
||||
swapl(&stuff->n);
|
||||
|
|
@ -997,8 +986,6 @@ static int _X_COLD
|
|||
SProcDbeGetBackBufferAttributes(ClientPtr client)
|
||||
{
|
||||
REQUEST(xDbeGetBackBufferAttributesReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xDbeGetBackBufferAttributesReq);
|
||||
|
||||
swapl(&stuff->buffer);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue