summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-unlink.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-12-04 21:58:52 +0000
committerMiles Bader <miles@gnu.org>1995-12-04 21:58:52 +0000
commit3b867d90382ca8a3002b3cc952866d16c2223ca9 (patch)
tree1a17599232e62dbc94e4b4adf9cd8fc9df658977 /libdiskfs/dir-unlink.c
parente689d89ff7496743e13f1248a41462a9f4d0694c (diff)
(diskfs_S_dir_unlink): Delete vestigial fetch_control.
Diffstat (limited to 'libdiskfs/dir-unlink.c')
-rw-r--r--libdiskfs/dir-unlink.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libdiskfs/dir-unlink.c b/libdiskfs/dir-unlink.c
index fd76af8c..071e927e 100644
--- a/libdiskfs/dir-unlink.c
+++ b/libdiskfs/dir-unlink.c
@@ -61,15 +61,6 @@ diskfs_S_dir_unlink (struct protid *dircred,
mutex_unlock (&dnp->lock);
return EISDIR;
}
-
- /* If this is the last link to the node, then give the translator a
- push when we do the unlink. Here we fetch the control port. */
- if (np->dn_stat.st_nlink == 1)
- {
- error = fshelp_fetch_control (&np->transbox, &control);
- if (error)
- control = MACH_PORT_NULL;
- }
error = diskfs_dirremove (dnp, ds);
if (diskfs_synchronous)