diff options
Diffstat (limited to 'drivers/block/ub.c')
-rw-r--r-- | drivers/block/ub.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/ub.c b/drivers/block/ub.c index 088e5ba15c24..b68abc9d4c1f 100644 --- a/drivers/block/ub.c +++ b/drivers/block/ub.c | |||
@@ -2453,7 +2453,6 @@ static int __init ub_init(void) | |||
2453 | return 0; | 2453 | return 0; |
2454 | 2454 | ||
2455 | err_register: | 2455 | err_register: |
2456 | devfs_remove(DEVFS_NAME); | ||
2457 | unregister_blkdev(UB_MAJOR, DRV_NAME); | 2456 | unregister_blkdev(UB_MAJOR, DRV_NAME); |
2458 | err_regblkdev: | 2457 | err_regblkdev: |
2459 | return rc; | 2458 | return rc; |
@@ -2463,7 +2462,6 @@ static void __exit ub_exit(void) | |||
2463 | { | 2462 | { |
2464 | usb_deregister(&ub_driver); | 2463 | usb_deregister(&ub_driver); |
2465 | 2464 | ||
2466 | devfs_remove(DEVFS_NAME); | ||
2467 | unregister_blkdev(UB_MAJOR, DRV_NAME); | 2465 | unregister_blkdev(UB_MAJOR, DRV_NAME); |
2468 | usb_usual_clear_present(USB_US_TYPE_UB); | 2466 | usb_usual_clear_present(USB_US_TYPE_UB); |
2469 | } | 2467 | } |