[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:
@@ -1039,9 +1039,6 @@ static void __exit bpp_cleanup(void)
|
||||
{
|
||||
unsigned idx;
|
||||
|
||||
for (idx = 0; idx < BPP_NO; idx++)
|
||||
devfs_remove("bpp/%d", idx);
|
||||
devfs_remove("bpp");
|
||||
unregister_chrdev(BPP_MAJOR, dev_name);
|
||||
|
||||
for (idx = 0; idx < BPP_NO; idx++) {
|
||||
|
||||
@@ -712,7 +712,6 @@ static void deinit_vfc_device(struct vfc_dev *dev)
|
||||
{
|
||||
if(dev == NULL)
|
||||
return;
|
||||
devfs_remove("vfc/%d", dev->instance);
|
||||
sbus_iounmap(dev->regs, sizeof(struct vfc_regs));
|
||||
kfree(dev);
|
||||
}
|
||||
@@ -726,7 +725,6 @@ void cleanup_module(void)
|
||||
for (devp = vfc_dev_lst; *devp; devp++)
|
||||
deinit_vfc_device(*devp);
|
||||
|
||||
devfs_remove("vfc");
|
||||
kfree(vfc_dev_lst);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user