mm: fix 'ERROR: do not initialise globals to 0 or NULL' and coding style
Signed-off-by: Choi Gi-yong <yong@gnoy.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
eb9a3c62a0
commit
ac7149045d
@@ -2898,8 +2898,7 @@ retry:
|
||||
if (anon_rmap) {
|
||||
ClearPagePrivate(page);
|
||||
hugepage_add_new_anon_rmap(page, vma, address);
|
||||
}
|
||||
else
|
||||
} else
|
||||
page_dup_rmap(page);
|
||||
new_pte = make_huge_pte(vma, page, ((vma->vm_flags & VM_WRITE)
|
||||
&& (vma->vm_flags & VM_SHARED)));
|
||||
|
Reference in New Issue
Block a user