Re: [PATCH] mm/mmap: remove unnecessary assignment

From: David Rientjes
Date: Thu Aug 29 2013 - 02:24:47 EST


On Thu, 29 Aug 2013, Yanchuan Nian wrote:

> From: Yanchuan Nian <ycnian@xxxxxxxxx>
>
> pgoff is not used after the statement "pgoff = vma->vm_pgoff;",
> so the assignment is redundant.
>
> Signed-off-by: Yanchuan Nian <ycnian@xxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
--
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/