Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=625d9573d0f905146efd15169a35ea9c5a841198 Commit: 625d9573d0f905146efd15169a35ea9c5a841198 Parent: f61eaf9fc58f3b2d9e3ad424496620f3381ccd1e Author: Balbir Singh <[EMAIL PROTECTED]> AuthorDate: Mon Feb 4 22:29:08 2008 -0800 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Tue Feb 5 09:44:17 2008 -0800
Remove unused code from mm/tiny-shmem.c This code in mm/tiny-shmem.c is under #if 0 - remove it. Signed-off-by: Balbir Singh <[EMAIL PROTECTED]> Acked-by: Matt Mackall <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- mm/tiny-shmem.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/mm/tiny-shmem.c b/mm/tiny-shmem.c index d436a9c..7020836 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, - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html