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:
parent
bc3eed379e
commit
65493c0b73
12
Xext/sync.c
12
Xext/sync.c
|
@ -1899,7 +1899,7 @@ ProcSyncCreateFence(ClientPtr client)
|
||||||
if (!AddResource(stuff->fid, RTFence, (void *) pFence))
|
if (!AddResource(stuff->fid, RTFence, (void *) pFence))
|
||||||
return BadAlloc;
|
return BadAlloc;
|
||||||
|
|
||||||
return client->noClientException;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -1940,7 +1940,7 @@ ProcSyncTriggerFence(ClientPtr client)
|
||||||
|
|
||||||
miSyncTriggerFence(pFence);
|
miSyncTriggerFence(pFence);
|
||||||
|
|
||||||
return client->noClientException;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -1962,7 +1962,7 @@ ProcSyncResetFence(ClientPtr client)
|
||||||
|
|
||||||
pFence->funcs.Reset(pFence);
|
pFence->funcs.Reset(pFence);
|
||||||
|
|
||||||
return client->noClientException;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -1980,7 +1980,7 @@ ProcSyncDestroyFence(ClientPtr client)
|
||||||
return rc;
|
return rc;
|
||||||
|
|
||||||
FreeResource(stuff->fid, RT_NONE);
|
FreeResource(stuff->fid, RT_NONE);
|
||||||
return client->noClientException;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -2012,7 +2012,7 @@ ProcSyncQueryFence(ClientPtr client)
|
||||||
}
|
}
|
||||||
|
|
||||||
WriteToClient(client, sizeof(xSyncQueryFenceReply), &rep);
|
WriteToClient(client, sizeof(xSyncQueryFenceReply), &rep);
|
||||||
return client->noClientException;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -2090,7 +2090,7 @@ ProcSyncAwaitFence(ClientPtr client)
|
||||||
|
|
||||||
SyncAwaitEpilogue(client, items, pAwaitUnion);
|
SyncAwaitEpilogue(client, items, pAwaitUnion);
|
||||||
|
|
||||||
return client->noClientException;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue