X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Ftiny-shmem.c;h=5f2cbf0f153c7a35db2219cab124c0ac8513ce4c;hb=4e229beff7ee43d3d5e387ec91188b20f6267c00;hp=f9d6a9cc91c4bc806700c6119f45e34283abdeb7;hpb=94bc2be31a01a3055ec94176e595dfe208e92d3b;p=linux-2.6 diff --git a/mm/tiny-shmem.c b/mm/tiny-shmem.c index f9d6a9cc91..5f2cbf0f15 100644 --- a/mm/tiny-shmem.c +++ b/mm/tiny-shmem.c @@ -12,7 +12,6 @@ #include #include -#include #include #include #include @@ -33,9 +32,6 @@ static int __init init_tmpfs(void) { BUG_ON(register_filesystem(&tmpfs_fs_type) != 0); -#ifdef CONFIG_TMPFS - devfs_mk_dir("shm"); -#endif shm_mnt = kern_mount(&tmpfs_fs_type); BUG_ON(IS_ERR(shm_mnt));