Skip to contentSkip to conversation

mm-drop-elements-hw-and-phys_callback-from-struct-memory_block.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 31, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: include/linux/memory.h: drop fields 'hw' and 'phys_callback' from struct memory_block
has been removed from the -mm tree. Its filename was
mm-drop-elements-hw-and-phys_callback-from-struct-memory_block.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Anshuman Khandual <[email protected]>
Subject: include/linux/memory.h: drop fields 'hw' and 'phys_callback' from struct memory_block

memory_block structure elements 'hw' and 'phys_callback' are not getting used. This was originally added with commit 3947be1969a9 ("[PATCH] memory
hotplug: sysfs and add/remove functions") but never seem to have been used. Just drop them now.

---

 include/linux/memory.h |    2 --
 1 file changed, 2 deletions(-)
include/linux/memory.h renamed from include/linux/memory.h~mm-drop-elements-hw-and-phys_callback-from-struct-memory_block +0 -2
@@ -29,8 +29,6 @@ struct memory_block {
 	int section_count;		/* serialized by mem_sysfs_mutex */
 	int online_type;		/* for passing data to online routine */
 	int phys_device;		/* to which fru does this belong? */
-	void *hw;			/* optional pointer to fw/hw data */
-	int (*phys_callback)(struct memory_block *);
 	struct device dev;
 	int nid;			/* NID for this memory block */
 };

_

Patches currently in -mm which might be from [email protected] are