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:06 -0400 |
commit | 95dc112a5770dc670a1b45a3d9ee346fdd2b2697 (patch) | |
tree | 899cd99bdc928ade94ddc7b003b0de7d275cac48 /mm/shmem.c | |
parent | 0e6c62da7cd929b0389fc4a7e41464bb738647dc (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 'mm/shmem.c')
-rw-r--r-- | mm/shmem.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 38bc3334f263..a4161abb9e76 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -2252,9 +2252,7 @@ static int __init init_tmpfs(void) | |||
2252 | printk(KERN_ERR "Could not register tmpfs\n"); | 2252 | printk(KERN_ERR "Could not register tmpfs\n"); |
2253 | goto out2; | 2253 | goto out2; |
2254 | } | 2254 | } |
2255 | #ifdef CONFIG_TMPFS | 2255 | |
2256 | devfs_mk_dir("shm"); | ||
2257 | #endif | ||
2258 | shm_mnt = vfs_kern_mount(&tmpfs_fs_type, MS_NOUSER, | 2256 | shm_mnt = vfs_kern_mount(&tmpfs_fs_type, MS_NOUSER, |
2259 | tmpfs_fs_type.name, NULL); | 2257 | tmpfs_fs_type.name, NULL); |
2260 | if (IS_ERR(shm_mnt)) { | 2258 | if (IS_ERR(shm_mnt)) { |