mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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]>
This commit is contained in:
parent
f61eaf9fc5
commit
625d9573d0
1 changed files with 0 additions and 12 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue