summaryrefslogtreecommitdiff
path: root/libfshelp/set-active.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfshelp/set-active.c')
-rw-r--r--libfshelp/set-active.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libfshelp/set-active.c b/libfshelp/set-active.c
index 1671d09a..af5dcc89 100644
--- a/libfshelp/set-active.c
+++ b/libfshelp/set-active.c
@@ -24,11 +24,9 @@ error_t
fshelp_set_active (struct transbox *box,
mach_port_t active)
{
- mutex_lock (&box->innerlock); /* cancellation point XXX */
if (box->active != MACH_PORT_NULL)
mach_port_deallocate (mach_task_self (), box->active);
box->active = active;
- mutex_unlock (&box->innerlock);
return 0;
}