diff options
Diffstat (limited to 'drivers/block/nbd.c')
-rw-r--r-- | drivers/block/nbd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 618e258ca5d0..c24b349ae57b 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c | |||
@@ -685,7 +685,6 @@ static void __exit nbd_cleanup(void) | |||
685 | put_disk(disk); | 685 | put_disk(disk); |
686 | } | 686 | } |
687 | } | 687 | } |
688 | devfs_remove("nbd"); | ||
689 | unregister_blkdev(NBD_MAJOR, "nbd"); | 688 | unregister_blkdev(NBD_MAJOR, "nbd"); |
690 | printk(KERN_INFO "nbd: unregistered device at major %d\n", NBD_MAJOR); | 689 | printk(KERN_INFO "nbd: unregistered device at major %d\n", NBD_MAJOR); |
691 | } | 690 | } |