mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 11:30:30 +01:00
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>
(cherry picked from commit 3bb15b3e04)
This commit is contained in:
parent
c5dd2cf48f
commit
617ff59346
1 changed files with 2 additions and 14 deletions
16
Xext/sync.c
16
Xext/sync.c
|
|
@ -2153,18 +2153,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)
|
||||
{
|
||||
|
|
@ -2363,9 +2351,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…
Add table
Reference in a new issue