diff options
Diffstat (limited to 'mm/tiny-shmem.c')
| -rw-r--r-- | mm/tiny-shmem.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/tiny-shmem.c b/mm/tiny-shmem.c index f9d6a9cc91c4..5f2cbf0f153c 100644 --- a/mm/tiny-shmem.c +++ b/mm/tiny-shmem.c | |||
| @@ -12,7 +12,6 @@ | |||
| 12 | 12 | ||
| 13 | #include <linux/fs.h> | 13 | #include <linux/fs.h> |
| 14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
| 15 | #include <linux/devfs_fs_kernel.h> | ||
| 16 | #include <linux/vfs.h> | 15 | #include <linux/vfs.h> |
| 17 | #include <linux/mount.h> | 16 | #include <linux/mount.h> |
| 18 | #include <linux/file.h> | 17 | #include <linux/file.h> |
| @@ -33,9 +32,6 @@ static int __init init_tmpfs(void) | |||
| 33 | { | 32 | { |
| 34 | BUG_ON(register_filesystem(&tmpfs_fs_type) != 0); | 33 | BUG_ON(register_filesystem(&tmpfs_fs_type) != 0); |
| 35 | 34 | ||
| 36 | #ifdef CONFIG_TMPFS | ||
| 37 | devfs_mk_dir("shm"); | ||
| 38 | #endif | ||
| 39 | shm_mnt = kern_mount(&tmpfs_fs_type); | 35 | shm_mnt = kern_mount(&tmpfs_fs_type); |
| 40 | BUG_ON(IS_ERR(shm_mnt)); | 36 | BUG_ON(IS_ERR(shm_mnt)); |
| 41 | 37 | ||
