From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by kanga.kvack.org (Postfix) with ESMTP id 3A7A76B0267 for ; Tue, 12 Apr 2016 06:13:30 -0400 (EDT) Received: by mail-wm0-f48.google.com with SMTP id f198so180785998wme.0 for ; Tue, 12 Apr 2016 03:13:30 -0700 (PDT) Received: from outbound-smtp04.blacknight.com (outbound-smtp04.blacknight.com. [81.17.249.35]) by mx.google.com with ESMTPS id g2si33543196wje.67.2016.04.12.03.13.29 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 12 Apr 2016 03:13:29 -0700 (PDT) Received: from mail.blacknight.com (pemlinmail02.blacknight.ie [81.17.254.11]) by outbound-smtp04.blacknight.com (Postfix) with ESMTPS id CE3A398BA7 for ; Tue, 12 Apr 2016 10:13:28 +0000 (UTC) From: Mel Gorman Subject: [PATCH 11/24] mm, page_alloc: Remove unnecessary initialisation in get_page_from_freelist Date: Tue, 12 Apr 2016 11:12:12 +0100 Message-Id: <1460455945-29644-12-git-send-email-mgorman@techsingularity.net> In-Reply-To: <1460455945-29644-1-git-send-email-mgorman@techsingularity.net> References: <1460455945-29644-1-git-send-email-mgorman@techsingularity.net> Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: Vlastimil Babka , Linux-MM , LKML , Mel Gorman See subject. Signed-off-by: Mel Gorman --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 313db1c43839..f5ddb342c967 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -2674,7 +2674,6 @@ get_page_from_freelist(gfp_t gfp_mask, unsigned int order, int alloc_flags, const struct alloc_context *ac) { struct zoneref *z; - struct page *page = NULL; struct zone *zone; bool fair_skipped; bool zonelist_rescan; @@ -2688,6 +2687,7 @@ get_page_from_freelist(gfp_t gfp_mask, unsigned int order, int alloc_flags, */ for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, ac->high_zoneidx, ac->nodemask) { + struct page *page; unsigned long mark; if (cpusets_enabled() && -- 2.6.4 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org