summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2007-05-08 11:19:38 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 11:35:28 -0700
commit74add80cbd7fe246c893b93ee75ac59acdd01dd4 (patch)
tree57ab3f1754bb90fb81721a76b8e342871203a75c /mm
parent02a93208edec0d655c9f18613d830dc6afeda7d4 (diff)
Remove unused variable in get_unmapped_area
Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/mmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index 52646d61ff6..cc1f543eb1b 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1366,7 +1366,6 @@ unsigned long
get_unmapped_area(struct file *file, unsigned long addr, unsigned long len,
unsigned long pgoff, unsigned long flags)
{
- unsigned long ret;
unsigned long (*get_area)(struct file *, unsigned long,
unsigned long, unsigned long, unsigned long);