Remove an unused variable from get_unmapped_area()

From: David Gibson
Date: Tue May 08 2007 - 23:28:26 EST


Some recent changes in get_unmapped_area() have left the 'ret'
local unused. This patch removes it.

Signed-off-by: David Gibson <dwg@xxxxxxxxxxx>

Index: working-2.6/mm/mmap.c
===================================================================
--- working-2.6.orig/mm/mmap.c 2007-05-09 13:26:33.000000000 +1000
+++ working-2.6/mm/mmap.c 2007-05-09 13:26:47.000000000 +1000
@@ -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);


--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/