mm/filemap.c: remove useless check in pagecache_get_page()
authorKirill Tkhai <ktkhai@virtuozzo.com>
Fri, 28 Dec 2018 08:37:35 +0000 (00:37 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Dec 2018 20:11:50 +0000 (12:11 -0800)
commitc16eb000ca03f8cdc2153bca6c977b6f898e6934
tree1fdb9ea3b0755211088e17fbb0d8148c7236ef52
parent144552ff8995dd34d049a203d636b259ab751137
mm/filemap.c: remove useless check in pagecache_get_page()

page always is not NULL, so we may remove this useless check.

Link: http://lkml.kernel.org/r/154419752044.18559.2452963074922917720.stgit@localhost.localdomain
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/filemap.c