Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756221Ab3FLUQh (ORCPT ); Wed, 12 Jun 2013 16:16:37 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:38717 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751157Ab3FLUQf (ORCPT ); Wed, 12 Jun 2013 16:16:35 -0400 Date: Wed, 12 Jun 2013 13:16:33 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Zhang Yanfei cc: Andrew Morton , Linux MM , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] mm: Remove zone_type argument of build_zonelists_node In-Reply-To: <51B86456.3060606@gmail.com> Message-ID: References: <51B86456.3060606@gmail.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 635 Lines: 16 On Wed, 12 Jun 2013, Zhang Yanfei wrote: > From: Zhang Yanfei > > The callers of build_zonelists_node always pass MAX_NR_ZONES -1 > as the zone_type argument, so we can directly use the value > in build_zonelists_node and remove zone_type argument. > > Signed-off-by: Zhang Yanfei Acked-by: David Rientjes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/