Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3228395ybf; Tue, 3 Mar 2020 01:59:27 -0800 (PST) X-Google-Smtp-Source: ADFU+vu5TbK9DQ/ajafVotnIoZltRgE+hGMtfSLOErar2eYc92RJF0wPO6jltJRXi3V504sK8Bl0 X-Received: by 2002:aca:b1d5:: with SMTP id a204mr1879211oif.82.1583229567216; Tue, 03 Mar 2020 01:59:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583229567; cv=none; d=google.com; s=arc-20160816; b=t4KaTvAWVaZeRiZntX6Qr3xjbaGtk0Djqt+5SBSlLmmk36czDl87PHKHyXm8EEHbwc SK4mj985UhKe9VDzHLbrrGmSMid5e34udJw+RIiu08ysFMJoFpAl1eeIw1KEL3i59LPX 2x+7/3sjPEKDEoHuJjhv2kOk5cSYIxWsbsDbGRgx5UlNA2a/neZy8sKtpu1Fr9LXZ29R rPLKhjCWBfeRItdw1ZCngsKIFw+/9UmHw6CWJFlDnezNwsSAtXhixfuyDZs+NKA6EK9b jmSELC8KAB3hV4Ib2y/NPKHCfvd3DVI3VHAhsF6mqOB11dqk75yQr6iRLCPmOX5yJp0y nKfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Y99FbCmw9OnfxHbqxZIXhqJVIqMSByuY8qfyzjJA6uY=; b=OZYlRJPqjqSsq/15TFdztsSqNxzYdV2zjYL2qo2P8hcrhYeIoMVnatd8bgleQsG+1U 6O6PTQVUQG7T+3S24eLin8jmezyKEBxd9qahA8O+NJsohHM4puDzViKfhDWTciWuiIk4 qJbw7Hq5PaumgB7oUpovIskzo1343Bden8PHWzMd8AQagu3sz6qmYG7gcFgjEN9gf2lO xPXF2797A+JYOHtbsxYaXKuKbli2nuRbwgjV/ui7UaGtzvvLP3355Ja1u1xQ8xU7/nqT 37G45ztjLRoRsC94I3t/o4vyuWMxnWKylGQrPG+Q7NEyLS5yHw9eK+I+FrP89AEs9ZeN iCjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j36si7941533ota.58.2020.03.03.01.59.15; Tue, 03 Mar 2020 01:59:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728340AbgCCJuJ (ORCPT + 99 others); Tue, 3 Mar 2020 04:50:09 -0500 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 Received: by mail-wr1-f65.google.com with SMTP id x7so3526953wrr.0; Tue, 03 Mar 2020 01:50:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Y99FbCmw9OnfxHbqxZIXhqJVIqMSByuY8qfyzjJA6uY=; b=Wva2l0lshsUmNZAHvot2+xBGKy8fq1fI/WESP5+j/0zs5PaXRZ8zZY1WS6Pje67dCY vC4zgUpCU4klkhX0Et3BgKjtcW1nw+J/tNntOxtp0P0RNxZzXYCUfWe28jxuSz2iSD4w U+Ex/IE+stnDx/INKhKXwm440nXDEElvkwaqjIESVDjhvVCX5DdQa4UzARmLmD/sl43n 4tggBCBASYL0OxKRtj0mtu7+qwn5Ix3ZtvwntI6+HXNHd0zXqA7Xq1IvEfmcjkZdxAxs /p7aD/WlUT7Objm+pfMMrw2gqZ9aTFPg7bRApQhk3aswn5lpWnS+fuRN7Pq/dAhWIsln gPCA== X-Gm-Message-State: ANhLgQ2UPTryJ6eB7ydECFfnaHkowgGWCc+J95sXCxupOfs8FT/OeChX BmbNLODPGjs4wo5MLbjmEzQ= X-Received: by 2002:a5d:4a10:: with SMTP id m16mr4435706wrq.333.1583229006583; Tue, 03 Mar 2020 01:50:06 -0800 (PST) Received: from localhost (prg-ext-pat.suse.com. [213.151.95.130]) by smtp.gmail.com with ESMTPSA id u8sm3096766wmm.15.2020.03.03.01.50.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Mar 2020 01:50:05 -0800 (PST) Date: Tue, 3 Mar 2020 10:50:05 +0100 From: Michal Hocko 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 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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