projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f61eaf9
)
Remove unused code from mm/tiny-shmem.c
author
Balbir Singh
<
[email protected]
>
Tue, 5 Feb 2008 06:29:08 +0000
(22:29 -0800)
committer
Linus Torvalds
<
[email protected]
>
Tue, 5 Feb 2008 17:44:17 +0000
(09:44 -0800)
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
patch
|
blob
|
history
diff --git
a/mm/tiny-shmem.c
b/mm/tiny-shmem.c
index d436a9c82db7739618dee05886c0088aaea7728a..702083638c16d9a4a6878048f999f58c889fdd92 100644
(file)
--- 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,