Remove an unused variable from get_unmapped_area()
Subsystems (2)
Some recent changes in get_unmapped_area() have left the 'ret' local unused. This patch removes it.
Signed-off-by David Gibson <[email protected]>
mm/mmap.c +0 -1
@@ -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 );
Signature · 4 lines
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
Quoted 4 lines · David Gibson
Some recent changes in
get_unmapped_area()have left the 'ret' local unused. This patch removes it.Signed-off-by David Gibson <[email protected]>
Yeah, my fault, though somebody already posted a patch for this
Ben.