summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-02-28 14:05:25 -0500
committerAdam Jackson <ajax@redhat.com>2014-07-29 09:48:17 -0400
commit71ef49062ee33ac49033fbcd67bab88120882668 (patch)
treef6765cbec87329e4985402ba8fadff478bad1444 /dix
parenta317e0a974c1597d55fe05a38b4a495c4e4e8d71 (diff)
dix: Make some LBX-era code more obvious
isItTimeToYield in the conditional effectively didn't do anything here. Take it out, and remove the comment since LBX proxies aren't a thing for us anymore. Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'dix')
-rw-r--r--dix/dispatch.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c
index 4f830f7f4..f7a08f82e 100644
--- a/dix/dispatch.c
+++ b/dix/dispatch.c
@@ -3188,13 +3188,11 @@ ProcKillClient(ClientPtr client)
rc = dixLookupClient(&killclient, stuff->id, client, DixDestroyAccess);
if (rc == Success) {
CloseDownClient(killclient);
- /* if an LBX proxy gets killed, isItTimeToYield will be set */
- if (isItTimeToYield || (client == killclient)) {
+ if (client == killclient) {
/* force yield and return Success, so that Dispatch()
* doesn't try to touch client
*/
isItTimeToYield = TRUE;
- return Success;
}
return Success;
}