Skip to content

Commit

Permalink
[PATCH] remove redundant vm_flags clearing from madvise.c
Browse files Browse the repository at this point in the history
This patch removes redundant VM_ClearReadHint from mm/madvice.c which was
left there by Prasanna's patch.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Pekka Enberg authored and Linus Torvalds committed Jun 23, 2005
1 parent be5b4fb commit 3bc1ee3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mm/madvise.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3bc1ee3

Please sign in to comment.