diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/drivers/ubd_kern.c | 2 |
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 | } |