Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp7038401ybf; Fri, 6 Mar 2020 09:10:38 -0800 (PST) X-Google-Smtp-Source: ADFU+vtT4ZvSiBBS1XyY9wuy/M3wJWDJxVHr/jk5LUf+e2SzUdvpt+Tr7dlg9FjIvCZ8R++F/JAh X-Received: by 2002:a05:6830:4a6:: with SMTP id l6mr3509497otd.61.1583514638239; Fri, 06 Mar 2020 09:10:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583514638; cv=none; d=google.com; s=arc-20160816; b=0XJ3aUcs+1O9rESlGL/AmmMrs0rDExf1YMtYGN7xuqs6AunoDJdk5H8wdS+3rf3TU8 KiNHuYzVDakxUchtSBmZUI+9+uw5lu2Sgg99Ytk6HyHuMY3hICCzvd8q8Lp+ql9Ihyl5 jA1RnrPJe0tYWQKhOVebn/jYL0CZ8TwQ9By19TwnHNo2EM3/0/SL3GranXQODWLZ+GHK jdYkAVbXPnhERF0cfJtymx/yAHQP3TFASeSYjCfXKlSi11/rSPWMs6cPNqcYF03IVM5R l8asxejQgr0GkYcYwAFTtY0X3W0v93xBkF8lqXsdkHpPAL8nWYQQoKyuwe148yulC+pa GeFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:cc:to:from; bh=C55Q6CYJfsheiZZUDQjqN5WpOoWPF8Y/XJBRzxMlZGY=; b=yjIGtk5vpvxVNF2tXeLyWlTfzA/WeG/y99OJrh/TAHY82L01UgZTihhjMewndWITeI aEiuBpMbWkredoJfbyvhoEMoB45QVP604Om71vZI0/xK7IetRrjyzSpX/WjzzGAhBPk+ g8lkKUDu9ppMs6REjLjxxorC2+J656mH70gfy+KRT26t+NzIH1t5bTHzQoLUugMi89yh WKKmf/LMBaBojLhFMgNqIhLiI7PODnwC6JaRhNEBa/lXi/NDRpabmW5ZKZl2GuOp5riB FDprP3Lv6MQwSh0XLTWOcLba4sgkIA92+4ALZg+iaVAmwCzq7mulikPBEn9AhFcDp7xn WOeA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si1668955otk.154.2020.03.06.09.10.26; Fri, 06 Mar 2020 09:10:38 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727336AbgCFRJa (ORCPT + 99 others); Fri, 6 Mar 2020 12:09:30 -0500 Received: from ale.deltatee.com ([207.54.116.67]:38412 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726271AbgCFRJD (ORCPT ); Fri, 6 Mar 2020 12:09:03 -0500 Received: from cgy1-donard.priv.deltatee.com ([172.16.1.31]) by ale.deltatee.com with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jAGSz-0004aQ-SV; Fri, 06 Mar 2020 10:08:58 -0700 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.92) (envelope-from ) id 1jAGSv-0002RQ-Al; Fri, 06 Mar 2020 10:08:49 -0700 From: Logan Gunthorpe To: 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 , Michal Hocko , David Hildenbrand , Andrew Morton Cc: Christoph Hellwig , Catalin Marinas , Will Deacon , Benjamin Herrenschmidt , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Eric Badger , Logan Gunthorpe , Michal Hocko Date: Fri, 6 Mar 2020 10:08:40 -0700 Message-Id: <20200306170846.9333-2-logang@deltatee.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200306170846.9333-1-logang@deltatee.com> References: <20200306170846.9333-1-logang@deltatee.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 172.16.1.31 X-SA-Exim-Rcpt-To: linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-mm@kvack.org, dan.j.williams@intel.com, akpm@linux-foundation.org, hch@lst.de, catalin.marinas@arm.com, benh@kernel.crashing.org, tglx@linutronix.de, david@redhat.com, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, mhocko@kernel.org, will@kernel.org, luto@kernel.org, peterz@infradead.org, ebadger@gigaio.com, logang@deltatee.com, mhocko@suse.com X-SA-Exim-Mail-From: gunthorp@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-6.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, MYRULES_NO_TEXT,SURBL_BLOCKED,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Subject: [PATCH v4 1/7] mm/memory_hotplug: Drop the flags field from struct mhp_restrictions X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This variable is not used anywhere and should therefore be removed from the structure. Signed-off-by: Logan Gunthorpe Reviewed-by: David Hildenbrand Reviewed-by: Dan Williams 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