]> err.no Git - linux-2.6/commitdiff
[PATCH] remove redundant vm_flags clearing from madvise.c
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 23 Jun 2005 07:09:09 +0000 (00:09 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
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 <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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: