]> git.baikalelectronics.ru Git - kernel.git/commit
shmem: remove redundant code
authorHuang Shijie <shijie8@gmail.com>
Mon, 24 May 2010 21:31:58 +0000 (14:31 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2010 15:06:57 +0000 (08:06 -0700)
commit1234a4b75ebd34c2a6c133de3231fdb95fa6e7df
tree892657690d555940ef854bc97aa47a45c2088bdf
parent044b0281a3b7f40931a41f29529cc4d7302349e3
shmem: remove redundant code

prep_new_page() will call set_page_private(page, 0) to initialise the
page, so the code is redundant.

Signed-off-by: Huang Shijie <shijie8@gmail.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/shmem.c