]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a5dda8e019bec8dac3e36b9c5f12a5a1d715e04
tree0e1ccaa6a2d682f7636b9d5ef5d4c73a28074988
parent1234a4b75ebd34c2a6c133de3231fdb95fa6e7df
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