summaryrefslogtreecommitdiff
path: root/libdiskfs/io-select.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/io-select.c')
-rw-r--r--libdiskfs/io-select.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdiskfs/io-select.c b/libdiskfs/io-select.c
index e29e2a67..c978ffa8 100644
--- a/libdiskfs/io-select.c
+++ b/libdiskfs/io-select.c
@@ -36,8 +36,6 @@ diskfs_S_io_select (struct protid *cred,
return EBADF;
}
mutex_unlock (&cred->po->np->lock);
- /* Select is always possible. */
- mach_port_deallocate (mach_task_self (), port);
*type &= ~SELECT_URG;
return 0;
}