Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2181169ybv; Fri, 21 Feb 2020 10:25:46 -0800 (PST) X-Google-Smtp-Source: APXvYqwWyyx3LOZ+v34ldqgehJf6bjLDhCkkX/EtlSks6DTSWt4yX2DEidppigOKf+zk40+VBVYa X-Received: by 2002:aca:ad11:: with SMTP id w17mr3131708oie.85.1582309546696; Fri, 21 Feb 2020 10:25:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582309546; cv=none; d=google.com; s=arc-20160816; b=cMdqxMYN4T2fv68t/aPbDXNuUn5zZ5his4ZNoTZR/vlVDaa3WkAwnepYPLoTbj/FAk gl4UBubHrIyzq4tiO1qKNeE/aFwXgKrTxuYAYwTHTNXSZAK6Aqa/hRXWdSfy/lYQ2pYm eMzQ8dzmOlhuvH7nsaXEmMq07QoQU8zsivz2+LMNTdF8jS5Bu0G3aNujEJhNhg9sR+hu feLZLMG53AYnpnyrgbUKM6typir8jVjjvOu4cg8smSmAL5OpBr11O4dXyPKSis5qc780 whhi2y2+uxtauxcYESQAL+lETrNb6jdHQoRkAwgsDFFSnjYUygaNQZufBDrhGhA7qCj7 Hdiw== 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=b/T/JlvaxQ7zP/Nrs7/lqgqG+cCf8B0HELa7oEKwDqY=; b=sATEtIf3XfTNvDJ1CHURPlCtiThPLw8cThOQyL7cfPlsyw47BX9M7IPMvXU0EtE0bT DOlcGh/qQopcH+hZPEwKe8K/fOZsf6/8Cj6XF8vZ6xDrZPcWgC0Ui05ZO/F0yO1ZSdEl OHfkJaOFHuFw6JrrJ71JA+/opcrB56jL+h7JLNtgs5NH4yhfMC4syYfXHnYII2U8SSSU tlOsOOV1HUbkwrigNxv97Bfj/q90SC+lIYqjAY0VbzGS8tf/DU2WtPfyg0gvQjSTpH3K 3hvI1Tu3xG8Q4BIUrqlTS0zWhL6G1AcQBV7nmF79RfcOlVsimzTIdpaClAmQ+IdJAct7 P7mQ== 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 a3si1965329otk.234.2020.02.21.10.25.33; Fri, 21 Feb 2020 10:25:46 -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 S1729627AbgBUSZT (ORCPT + 99 others); Fri, 21 Feb 2020 13:25:19 -0500 Received: from ale.deltatee.com ([207.54.116.67]:59092 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726494AbgBUSZS (ORCPT ); Fri, 21 Feb 2020 13:25:18 -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 1j5CzA-00057l-6t; Fri, 21 Feb 2020 11:25:13 -0700 Received: from gunthorp by cgy1-donard.priv.deltatee.com with local (Exim 4.92) (envelope-from ) id 1j5Cz3-0007Nb-2u; Fri, 21 Feb 2020 11:25:05 -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 Date: Fri, 21 Feb 2020 11:24:57 -0700 Message-Id: <20200221182503.28317-2-logang@deltatee.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200221182503.28317-1-logang@deltatee.com> References: <20200221182503.28317-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 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=-8.7 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE,MYRULES_NO_TEXT,SURBL_BLOCKED,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Subject: [PATCH v3 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 --- 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