diff options
Diffstat (limited to 'drivers/sbus')
-rw-r--r-- | drivers/sbus/char/bpp.c | 3 | ||||
-rw-r--r-- | drivers/sbus/char/vfc_dev.c | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/sbus/char/bpp.c b/drivers/sbus/char/bpp.c index e680de41d762..03ff5a3b121b 100644 --- a/drivers/sbus/char/bpp.c +++ b/drivers/sbus/char/bpp.c | |||
@@ -1039,9 +1039,6 @@ static void __exit bpp_cleanup(void) | |||
1039 | { | 1039 | { |
1040 | unsigned idx; | 1040 | unsigned idx; |
1041 | 1041 | ||
1042 | for (idx = 0; idx < BPP_NO; idx++) | ||
1043 | devfs_remove("bpp/%d", idx); | ||
1044 | devfs_remove("bpp"); | ||
1045 | unregister_chrdev(BPP_MAJOR, dev_name); | 1042 | unregister_chrdev(BPP_MAJOR, dev_name); |
1046 | 1043 | ||
1047 | for (idx = 0; idx < BPP_NO; idx++) { | 1044 | for (idx = 0; idx < BPP_NO; idx++) { |
diff --git a/drivers/sbus/char/vfc_dev.c b/drivers/sbus/char/vfc_dev.c index 5d32384ad728..55b2b31bd7ab 100644 --- a/drivers/sbus/char/vfc_dev.c +++ b/drivers/sbus/char/vfc_dev.c | |||
@@ -712,7 +712,6 @@ static void deinit_vfc_device(struct vfc_dev *dev) | |||
712 | { | 712 | { |
713 | if(dev == NULL) | 713 | if(dev == NULL) |
714 | return; | 714 | return; |
715 | devfs_remove("vfc/%d", dev->instance); | ||
716 | sbus_iounmap(dev->regs, sizeof(struct vfc_regs)); | 715 | sbus_iounmap(dev->regs, sizeof(struct vfc_regs)); |
717 | kfree(dev); | 716 | kfree(dev); |
718 | } | 717 | } |
@@ -726,7 +725,6 @@ void cleanup_module(void) | |||
726 | for (devp = vfc_dev_lst; *devp; devp++) | 725 | for (devp = vfc_dev_lst; *devp; devp++) |
727 | deinit_vfc_device(*devp); | 726 | deinit_vfc_device(*devp); |
728 | 727 | ||
729 | devfs_remove("vfc"); | ||
730 | kfree(vfc_dev_lst); | 728 | kfree(vfc_dev_lst); |
731 | return; | 729 | return; |
732 | } | 730 | } |