From: Balbir Singh This code in mm/tiny-shmem.c is under #if 0 - remove it. Signed-off-by: Balbir Singh Acked-by: Matt Mackall Signed-off-by: Andrew Morton --- mm/tiny-shmem.c | 12 ------------ 1 file changed, 12 deletions(-) diff -puN mm/tiny-shmem.c~remove-unused-code-from-mm-tiny-shmemc mm/tiny-shmem.c --- a/mm/tiny-shmem.c~remove-unused-code-from-mm-tiny-shmemc +++ a/mm/tiny-shmem.c @@ -121,18 +121,6 @@ int shmem_unuse(swp_entry_t entry, struc 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, _