aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/nbd.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:15:16 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-26 15:25:06 -0400
commit95dc112a5770dc670a1b45a3d9ee346fdd2b2697 (patch)
tree899cd99bdc928ade94ddc7b003b0de7d275cac48 /drivers/block/nbd.c
parent0e6c62da7cd929b0389fc4a7e41464bb738647dc (diff)
[PATCH] devfs: Remove devfs_mk_dir() function from the kernel tree
Removes the devfs_mk_dir() function and all callers of it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block/nbd.c')
-rw-r--r--drivers/block/nbd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index 7f554f2ed079..618e258ca5d0 100644
--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -642,7 +642,6 @@ static int __init nbd_init(void)
642 printk(KERN_INFO "nbd: registered device at major %d\n", NBD_MAJOR); 642 printk(KERN_INFO "nbd: registered device at major %d\n", NBD_MAJOR);
643 dprintk(DBG_INIT, "nbd: debugflags=0x%x\n", debugflags); 643 dprintk(DBG_INIT, "nbd: debugflags=0x%x\n", debugflags);
644 644
645 devfs_mk_dir("nbd");
646 for (i = 0; i < nbds_max; i++) { 645 for (i = 0; i < nbds_max; i++) {
647 struct gendisk *disk = nbd_dev[i].disk; 646 struct gendisk *disk = nbd_dev[i].disk;
648 nbd_dev[i].file = NULL; 647 nbd_dev[i].file = NULL;