diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2005-06-23 00:09:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 09:45:19 -0700 |
commit | 3bc1ee3e8f1c05c0f64a479c6d56eb34a6190599 (patch) | |
tree | d69ea17b71b309151914ef722d2159e0c780312c /mm/madvise.c | |
parent | be5b4fbd017d12e0d09ea0528a5839ce2ed2c8c8 (diff) | |
download | linux-stable-3bc1ee3e8f1c05c0f64a479c6d56eb34a6190599.tar.gz linux-stable-3bc1ee3e8f1c05c0f64a479c6d56eb34a6190599.tar.bz2 linux-stable-3bc1ee3e8f1c05c0f64a479c6d56eb34a6190599.zip |
[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 <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/madvise.c')
-rw-r--r-- | mm/madvise.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/madvise.c b/mm/madvise.c index e3108054733c..54a5d3bc55d5 100644 --- a/mm/madvise.c +++ b/mm/madvise.c @@ -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: |