mm: remove return value of putback_lru_pages()
authorMinchan Kim <minchan.kim@gmail.com>
Mon, 24 May 2010 21:31:59 +0000 (14:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <minchan.kim@gmail.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/migrate.h
mm/migrate.c