[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>
This commit is contained in:
Pekka Enberg 2005-06-23 00:09:09 -07:00 коммит произвёл Linus Torvalds
Родитель be5b4fbd01
Коммит 3bc1ee3e8f
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -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: