diff options
Diffstat (limited to 'drivers/sbus/char/vfc_dev.c')
-rw-r--r-- | drivers/sbus/char/vfc_dev.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 | } |