summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2007-05-08 20:19:38 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 20:35:28 +0200
commit74add80cbd7fe246c893b93ee75ac59acdd01dd4 (patch)
tree57ab3f1754bb90fb81721a76b8e342871203a75c /mm
parentMerge branch 'for-2.6.22' of git://git.kernel.dk/data/git/linux-2.6-block (diff)
downloadlinux-74add80cbd7fe246c893b93ee75ac59acdd01dd4.tar.xz
linux-74add80cbd7fe246c893b93ee75ac59acdd01dd4.zip
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 52646d61ff69..cc1f543eb1b8 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);