]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit5bb1b169757875a72e05bfcbb76e22602cb1a760
tree9d57dd2f45765596feeb8f3518fe5ba165ad4244
parentbe06af002f6d50de10fd602ce3a6aa5d28e88d38
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