From: Franck Bui-Huu Date: Tue, 6 Jan 2009 22:39:21 +0000 (-0800) Subject: do_mpage_readpage(): remove useless clear_buffer_mapped() call X-Git-Tag: v2.6.29-rc1~462 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39f0dee2d8abe902617622b71f8f6f73985ec71c;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git do_mpage_readpage(): remove useless clear_buffer_mapped() call It is known that buffer_mapped() is false in this code path. Signed-off-by: Franck Bui-Huu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/mpage.c b/fs/mpage.c index 46e977e..16c3ef3 100644 --- a/fs/mpage.c +++ b/fs/mpage.c @@ -241,7 +241,6 @@ do_mpage_readpage(struct bio *bio, struct page *page, unsigned nr_pages, first_hole = page_block; page_block++; block_in_file++; - clear_buffer_mapped(map_bh); continue; }