summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-06-28 15:54:42 -0400
committerAdam Jackson <ajax@redhat.com>2016-09-02 13:41:05 -0400
commit65493c0b73f6ee65b2a8fcaa4a15b0c453ff72b1 (patch)
tree8ef000bbcb62e4a770fb262825935b6a3f35c2a3
parentbc3eed379ee5b4176db848708799fb2d5db16531 (diff)
sync: Don't do return client->noClientException
Hasn't been necessary since: commit 92ed75ac59e2d3af149cddb962efd05fc8487750 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>
-rw-r--r--Xext/sync.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Xext/sync.c b/Xext/sync.c
index 323b9dbe1..63350685c 100644
--- a/Xext/sync.c
+++ b/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;
}
/*