X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mm%2Ftiny-shmem.c;h=702083638c16d9a4a6878048f999f58c889fdd92;hb=731a0609df9cef35ae861d31004f50a02ebde6c2;hp=d436a9c82db7739618dee05886c0088aaea7728a;hpb=4c5cdb1e1f2a502069f57a60b5c6b97b8106c73c;p=~andy%2Flinux diff --git a/mm/tiny-shmem.c b/mm/tiny-shmem.c index d436a9c82db..702083638c1 100644 --- a/mm/tiny-shmem.c +++ b/mm/tiny-shmem.c @@ -121,18 +121,6 @@ int shmem_unuse(swp_entry_t entry, struct page *page) return 0; } -#if 0 -int shmem_mmap(struct file *file, struct vm_area_struct *vma) -{ - file_accessed(file); -#ifndef CONFIG_MMU - return ramfs_nommu_mmap(file, vma); -#else - return 0; -#endif -} -#endif /* 0 */ - #ifndef CONFIG_MMU unsigned long shmem_get_unmapped_area(struct file *file, unsigned long addr,