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:
@@ -2560,7 +2560,6 @@ devfs_unpublish_device(const char *path, bool disconnect)
|
|||||||
if (status == B_OK && disconnect)
|
if (status == B_OK && disconnect)
|
||||||
vfs_disconnect_vnode(sDeviceFileSystem->id, node->id);
|
vfs_disconnect_vnode(sDeviceFileSystem->id, node->id);
|
||||||
|
|
||||||
remove_vnode(sDeviceFileSystem->id, node->id);
|
|
||||||
put_vnode(sDeviceFileSystem->id, node->id);
|
put_vnode(sDeviceFileSystem->id, node->id);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user