projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
146d700
)
mm/mmap: remove unnecessary assignment
author
Yanchuan Nian
<
[email protected]
>
Wed, 11 Sep 2013 21:23:05 +0000
(14:23 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 11 Sep 2013 22:58:13 +0000
(15:58 -0700)
pgoff is not used after the statement "pgoff = vma->vm_pgoff;", so the
assignment is redundant.
Signed-off-by: Yanchuan Nian <
[email protected]
>
Acked-by: David Rientjes <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
mm/mmap.c
patch
|
blob
|
history
diff --git
a/mm/mmap.c
b/mm/mmap.c
index 51958d192a48ba9ec0636eb86f5c1dfc995f5433..9d548512ff8a30498ce07f2e536f765e8bd54cca 100644
(file)
--- a/
mm/mmap.c
+++ b/
mm/mmap.c
@@
-1566,7
+1566,6
@@
munmap_back:
WARN_ON_ONCE(addr != vma->vm_start);
addr = vma->vm_start;
- pgoff = vma->vm_pgoff;
vm_flags = vma->vm_flags;
} else if (vm_flags & VM_SHARED) {
error = shmem_zero_setup(vma);