(submit/fixup-req-len) Xext: xcmisc: 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>
This commit is contained in:
		
							parent
							
								
									3b3a99459a
								
							
						
					
					
						commit
						d83a64bed4
					
				|  | @ -146,8 +146,6 @@ static int _X_COLD | |||
| SProcXCMiscGetVersion(ClientPtr client) | ||||
| { | ||||
|     REQUEST(xXCMiscGetVersionReq); | ||||
| 
 | ||||
|     swaps(&stuff->length); | ||||
|     REQUEST_SIZE_MATCH(xXCMiscGetVersionReq); | ||||
|     swaps(&stuff->majorVersion); | ||||
|     swaps(&stuff->minorVersion); | ||||
|  | @ -157,9 +155,6 @@ SProcXCMiscGetVersion(ClientPtr client) | |||
| static int _X_COLD | ||||
| SProcXCMiscGetXIDRange(ClientPtr client) | ||||
| { | ||||
|     REQUEST(xReq); | ||||
| 
 | ||||
|     swaps(&stuff->length); | ||||
|     return ProcXCMiscGetXIDRange(client); | ||||
| } | ||||
| 
 | ||||
|  | @ -169,7 +164,6 @@ SProcXCMiscGetXIDList(ClientPtr client) | |||
|     REQUEST(xXCMiscGetXIDListReq); | ||||
|     REQUEST_SIZE_MATCH(xXCMiscGetXIDListReq); | ||||
| 
 | ||||
|     swaps(&stuff->length); | ||||
|     swapl(&stuff->count); | ||||
|     return ProcXCMiscGetXIDList(client); | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue