mm/mmap: remove unnecessary assignment
authorYanchuan Nian <ycnian@gmail.com>
Wed, 11 Sep 2013 21:23:05 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:13 +0000 (15:58 -0700)
commit2d8a17813ec817fa58addd2c92b4ca8cae5bafbb
treef67c5a6e90c5d3f97b101213e04332eebadce0b3
parent146d7009b45cdb45ec3be8ad73177dae58f4bc91
mm/mmap: remove unnecessary assignment

pgoff is not used after the statement "pgoff = vma->vm_pgoff;", so the
assignment is redundant.

Signed-off-by: Yanchuan Nian <ycnian@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c