summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-02-28 00:12:03 +0100
committerJustus Winter <justus@gnupg.org>2016-02-28 00:15:22 +0100
commit21d23d630eef3e4d830486389ecdee4bfd6c504a (patch)
tree5b6ea5a13a6bd0fd99fe006e2f729f8189a4666a /ipc
parent7ae251bd9cdc26e03eb3300ace23209bc50493e6 (diff)
Cleanupsjustus/dde-0
Diffstat (limited to 'ipc')
-rw-r--r--ipc/ipc_port.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ipc/ipc_port.c b/ipc/ipc_port.c
index a608e6e..86a4ee2 100644
--- a/ipc/ipc_port.c
+++ b/ipc/ipc_port.c
@@ -310,7 +310,6 @@ ipc_port_nsrequest(
{
ipc_port_t previous;
mach_port_mscount_t mscount;
- mach_port_mscount_t mscount_max = (mach_port_mscount_t) ~0;
assert(ip_active(port));
@@ -318,8 +317,7 @@ ipc_port_nsrequest(
mscount = port->ip_mscount;
if ((port->ip_srights == 0) &&
- (sync <= mscount
- || (sync == mscount_max && mscount < mscount_max)) &&
+ (sync <= mscount) &&
(notify != IP_NULL)) {
port->ip_nsrequest = IP_NULL;
ip_unlock(port);