mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -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
|
|
@ -320,7 +320,6 @@ void delete_partition(struct gendisk *disk, int part)
|
|||
p->nr_sects = 0;
|
||||
p->ios[0] = p->ios[1] = 0;
|
||||
p->sectors[0] = p->sectors[1] = 0;
|
||||
devfs_remove("%s/part%d", disk->devfs_name, part);
|
||||
sysfs_remove_link(&p->kobj, "subsystem");
|
||||
if (p->holder_dir)
|
||||
kobject_unregister(p->holder_dir);
|
||||
|
|
|
|||
Loading…
Reference in a new issue