mm: remove file argument from swap_readpage()

The file argument resulted from address_space's readpage long time ago.

We don't use it any more.  Let's remove unnecessary argement.

Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Minchan Kim
2009-06-16 15:33:02 -07:00
committed by Linus Torvalds
parent 8192da6a88
commit aca8bf323e
3 changed files with 3 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ out:
return ret;
}
int swap_readpage(struct file *file, struct page *page)
int swap_readpage(struct page *page)
{
struct bio *bio;
int ret = 0;