From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f65.google.com ([209.85.221.65]:33500 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728257AbgCCJuJ (ORCPT ); Tue, 3 Mar 2020 04:50:09 -0500 Date: Tue, 3 Mar 2020 10:50:05 +0100 From: Michal Hocko Subject: Re: [PATCH v3 1/7] mm/memory_hotplug: Drop the flags field from struct mhp_restrictions Message-ID: <20200303095005.GE4380@dhcp22.suse.cz> References: <20200221182503.28317-1-logang@deltatee.com> <20200221182503.28317-2-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200221182503.28317-2-logang@deltatee.com> Sender: linux-s390-owner@vger.kernel.org List-ID: To: Logan Gunthorpe Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-mm@kvack.org, Dan Williams , David Hildenbrand , Andrew Morton , Christoph Hellwig , Catalin Marinas , Will Deacon , Benjamin Herrenschmidt , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Eric Badger On Fri 21-02-20 11:24:57, Logan Gunthorpe wrote: > This variable is not used anywhere and should therefore be removed > from the structure. > > Signed-off-by: Logan Gunthorpe > Reviewed-by: David Hildenbrand Acked-by: Michal Hocko > --- > include/linux/memory_hotplug.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h > index f4d59155f3d4..69ff3037528d 100644 > --- a/include/linux/memory_hotplug.h > +++ b/include/linux/memory_hotplug.h > @@ -55,11 +55,9 @@ enum { > > /* > * Restrictions for the memory hotplug: > - * flags: MHP_ flags > * altmap: alternative allocator for memmap array > */ > struct mhp_restrictions { > - unsigned long flags; > struct vmem_altmap *altmap; > }; > > -- > 2.20.1 -- Michal Hocko SUSE Labs