aboutsummaryrefslogtreecommitdiffstats
path: root/arch
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 /arch
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 'arch')
-rw-r--r--arch/um/drivers/ubd_kern.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c
index 0897852b09a3..8f6bb9375193 100644
--- a/arch/um/drivers/ubd_kern.c
+++ b/arch/um/drivers/ubd_kern.c
@@ -841,7 +841,6 @@ int ubd_init(void)
841{ 841{
842 int i; 842 int i;
843 843
844 devfs_mk_dir("ubd");
845 if (register_blkdev(MAJOR_NR, "ubd")) 844 if (register_blkdev(MAJOR_NR, "ubd"))
846 return -1; 845 return -1;
847 846
@@ -855,7 +854,6 @@ int ubd_init(void)
855 char name[sizeof("ubd_nnn\0")]; 854 char name[sizeof("ubd_nnn\0")];
856 855
857 snprintf(name, sizeof(name), "ubd_%d", fake_major); 856 snprintf(name, sizeof(name), "ubd_%d", fake_major);
858 devfs_mk_dir(name);
859 if (register_blkdev(fake_major, "ubd")) 857 if (register_blkdev(fake_major, "ubd"))
860 return -1; 858 return -1;
861 } 859 }