Xext: shm: drop now obsolete swap procs
Several SProc's have become no-ops, just calling the actual Proc's, so we can get rid of them entirely. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639>
This commit is contained in:
		
							parent
							
								
									a7bdfdb3b5
								
							
						
					
					
						commit
						c8c42490b7
					
				|  | @ -1386,12 +1386,6 @@ SShmCompletionEvent(xShmCompletionEvent * from, xShmCompletionEvent * to) | |||
|     cpswapl(from->offset, to->offset); | ||||
| } | ||||
| 
 | ||||
| static int _X_COLD | ||||
| SProcShmQueryVersion(ClientPtr client) | ||||
| { | ||||
|     return ProcShmQueryVersion(client); | ||||
| } | ||||
| 
 | ||||
| static int _X_COLD | ||||
| SProcShmAttach(ClientPtr client) | ||||
| { | ||||
|  | @ -1489,7 +1483,7 @@ SProcShmDispatch(ClientPtr client) | |||
|     REQUEST(xReq); | ||||
| 
 | ||||
|     if (stuff->data == X_ShmQueryVersion) | ||||
|         return SProcShmQueryVersion(client); | ||||
|         return ProcShmQueryVersion(client); | ||||
| 
 | ||||
|     if (!client->local) | ||||
|         return BadRequest; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue