mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] remove redundant vm_flags clearing from madvise.c
This patch removes redundant VM_ClearReadHint from mm/madvice.c which was left there by Prasanna's patch. Signed-off-by: Pekka Enberg <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
be5b4fbd01
commit
3bc1ee3e8f
1 changed files with 0 additions and 1 deletions
|
|
@ -65,7 +65,6 @@ static long madvise_behavior(struct vm_area_struct * vma,
|
|||
/*
|
||||
* vm_flags is protected by the mmap_sem held in write mode.
|
||||
*/
|
||||
VM_ClearReadHint(vma);
|
||||
vma->vm_flags = new_flags;
|
||||
|
||||
out:
|
||||
|
|
|
|||
Loading…
Reference in a new issue