Xext: sync: 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
							
								
									c8c42490b7
								
							
						
					
					
						commit
						3bb15b3e04
					
				
							
								
								
									
										16
									
								
								Xext/sync.c
								
								
								
								
							
							
						
						
									
										16
									
								
								Xext/sync.c
								
								
								
								
							|  | @ -2151,18 +2151,6 @@ ProcSyncDispatch(ClientPtr client) | |||
|  * Boring Swapping stuff ... | ||||
|  */ | ||||
| 
 | ||||
| static int _X_COLD | ||||
| SProcSyncInitialize(ClientPtr client) | ||||
| { | ||||
|     return ProcSyncInitialize(client); | ||||
| } | ||||
| 
 | ||||
| static int _X_COLD | ||||
| SProcSyncListSystemCounters(ClientPtr client) | ||||
| { | ||||
|     return ProcSyncListSystemCounters(client); | ||||
| } | ||||
| 
 | ||||
| static int _X_COLD | ||||
| SProcSyncCreateCounter(ClientPtr client) | ||||
| { | ||||
|  | @ -2361,9 +2349,9 @@ SProcSyncDispatch(ClientPtr client) | |||
| 
 | ||||
|     switch (stuff->data) { | ||||
|     case X_SyncInitialize: | ||||
|         return SProcSyncInitialize(client); | ||||
|         return ProcSyncInitialize(client); | ||||
|     case X_SyncListSystemCounters: | ||||
|         return SProcSyncListSystemCounters(client); | ||||
|         return ProcSyncListSystemCounters(client); | ||||
|     case X_SyncCreateCounter: | ||||
|         return SProcSyncCreateCounter(client); | ||||
|     case X_SyncSetCounter: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue