* Remove an unused variable from get_unmapped_area()
@ 2007-05-09 3:28 David Gibson
2007-05-09 3:52 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 2+ messages in thread
From: David Gibson @ 2007-05-09 3:28 UTC (permalink / raw)
To: Andrew Morton; +Cc: Benjamin Herrenschmidt, linux-kernel
Some recent changes in get_unmapped_area() have left the 'ret'
local unused. This patch removes it.
Signed-off-by: David Gibson <dwg@au1.ibm.com>
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-09 3:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-09 3:28 Remove an unused variable from get_unmapped_area() David Gibson
2007-05-09 3:52 ` Benjamin Herrenschmidt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.