]> Git Repo - linux.git/commit
mm: remove return value of putback_lru_pages()
authorMinchan Kim <[email protected]>
Mon, 24 May 2010 21:31:59 +0000 (14:31 -0700)
committerLinus Torvalds <[email protected]>
Tue, 25 May 2010 15:06:57 +0000 (08:06 -0700)
commite13861d822f8f443ca0c020ea8fc2dc01039cd63
tree0e1ccaa6a2d682f7636b9d5ef5d4c73a28074988
parent4b50dc26a0a25a9d1998d206e1f7d849aa78063f
mm: remove return value of putback_lru_pages()

putback_lru_page() never can fail.  So it doesn't matter count of "the
number of pages put back".

In addition, users of this functions don't use return value.

Let's remove unnecessary code.

Signed-off-by: Minchan Kim <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Reviewed-by: KOSAKI Motohiro <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/migrate.h
mm/migrate.c
This page took 0.051769 seconds and 4 git commands to generate.