mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[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 <[email protected]>
This commit is contained in:
parent
7c69ef7974
commit
8ab5e4c15b
47 changed files with 9 additions and 161 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue