]> Git Repo - linux.git/commitdiff
[PATCH] remove redundant vm_flags clearing from madvise.c
authorPekka Enberg <[email protected]>
Thu, 23 Jun 2005 07:09:09 +0000 (00:09 -0700)
committerLinus Torvalds <[email protected]>
Thu, 23 Jun 2005 16:45:19 +0000 (09:45 -0700)
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]>
mm/madvise.c

index e3108054733c2530fd28114b4814e27eda106ac0..54a5d3bc55d501caa3d2da3f3a9ef265ca584f2a 100644 (file)
@@ -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:
This page took 0.059378 seconds and 4 git commands to generate.