From: Wu Fengguang Date: Tue, 16 Jun 2009 22:31:36 +0000 (-0700) Subject: readahead: remove redundant test in shrink_readahead_size_eio() X-Git-Tag: MMI-PSA29.97-13-9~27882^2~164 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=61b7cbdba2f3c588a0cf3db574c562805454b09b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git readahead: remove redundant test in shrink_readahead_size_eio() Signed-off-by: Wu Fengguang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/filemap.c b/mm/filemap.c index 734891d0663d..2e9bcc2e7977 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -1004,9 +1004,6 @@ EXPORT_SYMBOL(grab_cache_page_nowait); static void shrink_readahead_size_eio(struct file *filp, struct file_ra_state *ra) { - if (!ra->ra_pages) - return; - ra->ra_pages /= 4; }