[PATCH] devfs: Remove devfs_remove() function from the kernel tree
Removes the devfs_remove() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -123,7 +123,6 @@ void phone_unregister_device(struct phone_device *pfd)
|
||||
mutex_lock(&phone_lock);
|
||||
if (phone_device[pfd->minor] != pfd)
|
||||
panic("phone: bad unregister");
|
||||
devfs_remove("phone/%d", pfd->minor);
|
||||
phone_device[pfd->minor] = NULL;
|
||||
mutex_unlock(&phone_lock);
|
||||
}
|
||||
|
Reference in New Issue
Block a user