Remove unnecessary remove_vnode() in devfs_unpublish_device() done already in unpublish_node()

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23446 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2008-01-12 17:38:56 +00:00
parent a52c1759ac
commit 84c69b0078
-1
View File
@@ -2560,7 +2560,6 @@ devfs_unpublish_device(const char *path, bool disconnect)
if (status == B_OK && disconnect)
vfs_disconnect_vnode(sDeviceFileSystem->id, node->id);
remove_vnode(sDeviceFileSystem->id, node->id);
put_vnode(sDeviceFileSystem->id, node->id);
return status;
}