]> git.baikalelectronics.ru Git - kernel.git/commit
mm, page_alloc: remove unnecessary initialisation from __alloc_pages_nodemask()
authorMel Gorman <mgorman@techsingularity.net>
Fri, 20 May 2016 00:13:50 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 May 2016 02:12:14 +0000 (19:12 -0700)
commit927c407332815503f1c39a26530ddcab46f6530b
tree9d57dd2f45765596feeb8f3518fe5ba165ad4244
parent36197f0fd9a83c329329858b8f4d4eef7ce1d05e
mm, page_alloc: remove unnecessary initialisation from __alloc_pages_nodemask()

page is guaranteed to be set before it is read with or without the
initialisation.

[akpm@linux-foundation.org: fix warning]
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c