Index: uspace/srv/vfs/vfs.c
===================================================================
--- uspace/srv/vfs/vfs.c	(revision 20c071d5cfba411df2e2fa0060786e661f322a34)
+++ uspace/srv/vfs/vfs.c	(revision d60ce4abaa4bfa71b3cf2c3701c3157ffc9c341f)
@@ -109,7 +109,4 @@
 			vfs_fstat(callid, &call);
 			break;
-		case VFS_IN_UNLINK:
-			vfs_unlink(callid, &call);
-			break;
 		case VFS_IN_UNLINK2:
 			vfs_unlink2(callid, &call);
Index: uspace/srv/vfs/vfs.h
===================================================================
--- uspace/srv/vfs/vfs.h	(revision 20c071d5cfba411df2e2fa0060786e661f322a34)
+++ uspace/srv/vfs/vfs.h	(revision d60ce4abaa4bfa71b3cf2c3701c3157ffc9c341f)
@@ -219,5 +219,4 @@
 extern void vfs_truncate(ipc_callid_t, ipc_call_t *);
 extern void vfs_fstat(ipc_callid_t, ipc_call_t *);
-extern void vfs_unlink(ipc_callid_t, ipc_call_t *);
 extern void vfs_rename(ipc_callid_t, ipc_call_t *);
 extern void vfs_wait_handle(ipc_callid_t, ipc_call_t *);
Index: uspace/srv/vfs/vfs_ops.c
===================================================================
--- uspace/srv/vfs/vfs_ops.c	(revision 20c071d5cfba411df2e2fa0060786e661f322a34)
+++ uspace/srv/vfs/vfs_ops.c	(revision d60ce4abaa4bfa71b3cf2c3701c3157ffc9c341f)
@@ -1063,40 +1063,4 @@
 }
 
-void vfs_unlink(ipc_callid_t rid, ipc_call_t *request)
-{
-	int lflag = IPC_GET_ARG1(*request);
-	
-	char *path;
-	int rc = async_data_write_accept((void **) &path, true, 0, 0, 0, NULL);
-	if (rc != EOK) {
-		async_answer_0(rid, rc);
-		return;
-	}
-	
-	fibril_rwlock_write_lock(&namespace_rwlock);
-	lflag &= L_DIRECTORY;	/* sanitize lflag */
-	vfs_lookup_res_t lr;
-	rc = vfs_lookup_internal(path, lflag | L_UNLINK, &lr, NULL);
-	free(path);
-	if (rc != EOK) {
-		fibril_rwlock_write_unlock(&namespace_rwlock);
-		async_answer_0(rid, rc);
-		return;
-	}
-
-	/*
-	 * The name has already been unlinked by vfs_lookup_internal().
-	 * We have to get and put the VFS node to ensure that it is
-	 * VFS_OUT_DESTROY'ed after the last reference to it is dropped.
-	 */
-	vfs_node_t *node = vfs_node_get(&lr);
-	fibril_mutex_lock(&nodes_mutex);
-	node->lnkcnt--;
-	fibril_mutex_unlock(&nodes_mutex);
-	fibril_rwlock_write_unlock(&namespace_rwlock);
-	vfs_node_put(node);
-	async_answer_0(rid, EOK);
-}
-
 void vfs_unlink2(ipc_callid_t rid, ipc_call_t *request)
 {
