From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F13CDC3F2CD for ; Tue, 3 Mar 2020 09:52:14 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AD1FA20866 for ; Tue, 3 Mar 2020 09:52:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AD1FA20866 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 48Wsk40s7PzDqYV for ; Tue, 3 Mar 2020 20:52:12 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=209.85.221.66; helo=mail-wr1-f66.google.com; envelope-from=mstsxfx@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 48Wsgl1lmRzDqJC for ; Tue, 3 Mar 2020 20:50:10 +1100 (AEDT) Received: by mail-wr1-f66.google.com with SMTP id h9so2513136wrr.10 for ; Tue, 03 Mar 2020 01:50:10 -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=oKcasIlj5EuE0q+QwdxNlbvcbCJEV3b4O/t4tCvFwQ3Luh5iAD1yQjbbQqMP4UDMxO oKx5Iit9EMQLNyL4DbT635Q2GOErWJNgiy4kp8dkA7F+ZWZL44LoG4NlfgxYAJILAFrC e4gmZIt2HTNQH+vxiWPrmXN2l8ZTI4EDIB6lkapF4gmjE91/AW/i8fU7vBQM8vaDikP0 ve11Pkn45RKMbfYmn5QQ3p+dGUEZP8ePxPW7uBIRhIdADqBUfpD370DE4lZiFpuJDji7 7PJawvlLUQO3QYIRGeHYKfloqrJNhgyKkhh2+0Op5+HxwZHzwsVT87NoMBMhjIxEklbi yaEQ== X-Gm-Message-State: ANhLgQ2paW43aD6+8+nvdyLjlW1I99rf2T3zAHAu7zavCDUzLSZlYVPc /5bcgnO+eB0nE8sKaxdfL3o= X-Google-Smtp-Source: ADFU+vuwthCqGkSbyuUa0Z+cIz/BhBDMexJ+IcEdZ4dQctXNHctdxSNdlijFijlYre1w0hRSFX3F9Q== 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 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> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, Peter Zijlstra , Catalin Marinas , Dave Hansen , platform-driver-x86@vger.kernel.org, linux-mm@kvack.org, Will Deacon , Christoph Hellwig , linux-s390@vger.kernel.org, David Hildenbrand , Ingo Molnar , Dan Williams , Borislav Petkov , Andy Lutomirski , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Eric Badger , linux-kernel@vger.kernel.org, Andrew Morton , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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