slob: reduce external fragmentation by using three free lists
[safe/jmp/linux-2.6] / mm / tiny-shmem.c
index d436a9c..7020836 100644 (file)
@@ -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,