2007-05-08 18:19:50

by Roland McGrath

[permalink] [raw]
Subject: [PATCH] Remove unused variable in get_unmapped_area

Signed-off-by: Roland McGrath <[email protected]>
---
mm/mmap.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/mm/mmap.c b/mm/mmap.c
index 52646d6..4be69af 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);