From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx187.postini.com [74.125.245.187]) by kanga.kvack.org (Postfix) with SMTP id 25EE26B0002 for ; Wed, 22 May 2013 18:14:45 -0400 (EDT) Date: Wed, 22 May 2013 15:14:43 -0700 From: Greg Kroah-Hartman Subject: Re: [PATCH] Driver core / memory: Simplify __memory_block_change_state() Message-ID: <20130522221443.GA7427@kroah.com> References: <1576321.HU0tZ4cGWk@vostro.rjw.lan> <1824290.fKsAJTo9gA@vostro.rjw.lan> <519C4D6E.6080902@cn.fujitsu.com> <1594596.DcsjzgnrZI@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1594596.DcsjzgnrZI@vostro.rjw.lan> Sender: owner-linux-mm@kvack.org List-ID: To: "Rafael J. Wysocki" Cc: Tang Chen , Toshi Kani , ACPI Devel Maling List , LKML , isimatu.yasuaki@jp.fujitsu.com, vasilis.liaskovitis@profitbricks.com, Len Brown , linux-mm@kvack.org On Thu, May 23, 2013 at 12:06:50AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > As noted by Tang Chen, the last_online field in struct memory_block > introduced by commit 4960e05 (Driver core: Introduce offline/online > callbacks for memory blocks) is not really necessary, because > online_pages() restores the previous state if passed ONLINE_KEEP as > the last argument. Therefore, remove that field along with the code > referring to it. > > References: http://marc.info/?l=linux-kernel&m=136919777305599&w=2 > Signed-off-by: Rafael J. Wysocki Acked-by: Greg Kroah-Hartman -- 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