summaryrefslogtreecommitdiff
path: root/proc/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc/notify.c')
-rw-r--r--proc/notify.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/proc/notify.c b/proc/notify.c
index 7ab8d56b..d0fd2f60 100644
--- a/proc/notify.c
+++ b/proc/notify.c
@@ -57,13 +57,7 @@ do_mach_notify_dead_name (mach_port_t notify,
return EOPNOTSUPP;
}
- if (p->p_msgport == deadport)
- {
- message_port_dead (p);
- ports_port_deref (p);
- return 0;
- }
- else if (p->p_task == deadport)
+ if (p->p_task == deadport)
{
process_has_exited (p);
ports_port_deref (p);