Commit 625d9573 authored by Balbir Singh's avatar Balbir Singh Committed by Linus Torvalds

Remove unused code from mm/tiny-shmem.c

This code in mm/tiny-shmem.c is under #if 0 - remove it.
Signed-off-by: default avatarBalbir Singh <>
Acked-by: default avatarMatt Mackall <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent f61eaf9f
......@@ -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)
#ifndef CONFIG_MMU
return ramfs_nommu_mmap(file, vma);
return 0;
#endif /* 0 */
#ifndef CONFIG_MMU
unsigned long shmem_get_unmapped_area(struct file *file,
unsigned long addr,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment