linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] remove unused line for mmap_region()
@ 2009-06-21 14:43 Huang Shijie
  2009-06-21 18:30 ` Hugh Dickins
  0 siblings, 1 reply; 6+ messages in thread
From: Huang Shijie @ 2009-06-21 14:43 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, Huang Shijie

	The variable pgoff is not used in the following codes.
	So, just remove the line.

Signed-off-by: Huang Shijie <shijie8@gmail.com>
---
 mm/mmap.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/mm/mmap.c b/mm/mmap.c
index 34579b2..1dd6aaa 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1210,7 +1210,6 @@ munmap_back:
 	 *         f_op->mmap method. -DaveM
 	 */
 	addr = vma->vm_start;
-	pgoff = vma->vm_pgoff;
 	vm_flags = vma->vm_flags;
 
 	if (vma_wants_writenotify(vma))
-- 
1.6.0.6

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-24  4:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-21 14:43 [PATCH] remove unused line for mmap_region() Huang Shijie
2009-06-21 18:30 ` Hugh Dickins
2009-06-22  3:50   ` Huang Shijie
2009-06-23 11:14     ` Hugh Dickins
2009-06-24  3:16       ` Huang Shijie
2009-06-24  4:22         ` Hugh Dickins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox