From 3b867d90382ca8a3002b3cc952866d16c2223ca9 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 4 Dec 1995 21:58:52 +0000 Subject: (diskfs_S_dir_unlink): Delete vestigial fetch_control. --- libdiskfs/dir-unlink.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libdiskfs') 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) -- cgit v1.2.3