mm, page_alloc: remove unnecessary local variable in get_page_from_freelist
authorMel Gorman <mgorman@techsingularity.net>
Fri, 20 May 2016 00:13:44 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 May 2016 02:12:14 +0000 (19:12 -0700)
commit4dfa6cd8fdb1682586d463bc34888980fe98eb46
tree99841000a97c5b9c0ba7daf68ebb8ca59bc035ac
parentfa379b9586c7507c607d031dadf3681ed29614a9
mm, page_alloc: remove unnecessary local variable in get_page_from_freelist

zonelist here is a copy of a struct field that is used once.  Ditch it.

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