mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
sync: Don't do return client->noClientException
Hasn't been necessary since:
commit 92ed75ac59
Author: Jamey Sharp <jamey@minilop.net>
Date: Mon May 10 20:22:05 2010 -0700
Eliminate boilerplate around client->noClientException.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
12
Xext/sync.c
12
Xext/sync.c
@@ -1899,7 +1899,7 @@ ProcSyncCreateFence(ClientPtr client)
|
||||
if (!AddResource(stuff->fid, RTFence, (void *) pFence))
|
||||
return BadAlloc;
|
||||
|
||||
return client->noClientException;
|
||||
return Success;
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -1940,7 +1940,7 @@ ProcSyncTriggerFence(ClientPtr client)
|
||||
|
||||
miSyncTriggerFence(pFence);
|
||||
|
||||
return client->noClientException;
|
||||
return Success;
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -1962,7 +1962,7 @@ ProcSyncResetFence(ClientPtr client)
|
||||
|
||||
pFence->funcs.Reset(pFence);
|
||||
|
||||
return client->noClientException;
|
||||
return Success;
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -1980,7 +1980,7 @@ ProcSyncDestroyFence(ClientPtr client)
|
||||
return rc;
|
||||
|
||||
FreeResource(stuff->fid, RT_NONE);
|
||||
return client->noClientException;
|
||||
return Success;
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -2012,7 +2012,7 @@ ProcSyncQueryFence(ClientPtr client)
|
||||
}
|
||||
|
||||
WriteToClient(client, sizeof(xSyncQueryFenceReply), &rep);
|
||||
return client->noClientException;
|
||||
return Success;
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -2090,7 +2090,7 @@ ProcSyncAwaitFence(ClientPtr client)
|
||||
|
||||
SyncAwaitEpilogue(client, items, pAwaitUnion);
|
||||
|
||||
return client->noClientException;
|
||||
return Success;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user