diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-26 15:25:07 -0400 |
commit | 8ab5e4c15b53e147c08031a959d9f776823dbe73 (patch) | |
tree | b851d4c1fdbd396379279e4475f7f778a667a208 /drivers/block/ub.c | |
parent | 7c69ef79741910883d5543caafa06aca3ebadbd1 (diff) |
[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>
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 | } |