Thread (8 messages) 8 messages, 1 author, 2020-03-06
DORMANTno replies REVIEWED: 6 (4M)
Revisions (4)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 current

[PATCH v4 1/7] mm/memory_hotplug: Drop the flags field from struct mhp_restrictions

From: Logan Gunthorpe <logang@deltatee.com>
Date: 2020-03-06 17:09:31
Also in: linux-mm, linux-s390, linux-sh, linuxppc-dev, lkml, platform-driver-x86
Subsystem: memory hot(un)plug, the rest · Maintainers: David Hildenbrand, Oscar Salvador, Linus Torvalds

This variable is not used anywhere and should therefore be removed
from the structure.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: David Hildenbrand <redacted>
Reviewed-by: Dan Williams <redacted>
Acked-by: Michal Hocko <mhocko@suse.com>
---
 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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help