Skip to content

Commit 0689645

Browse files
Anshuman Khandualtorvalds
authored andcommitted
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 3947be1 ("[PATCH] memory hotplug: sysfs and add/remove functions") but never seem to have been used. Just drop them now. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Anshuman Khandual <[email protected]> Reviewed-by: Dan Williams <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Pavel Tatashin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent ca023a9 commit 0689645

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/linux/memory.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ struct memory_block {
2929
int section_count; /* serialized by mem_sysfs_mutex */
3030
int online_type; /* for passing data to online routine */
3131
int phys_device; /* to which fru does this belong? */
32-
void *hw; /* optional pointer to fw/hw data */
33-
int (*phys_callback)(struct memory_block *);
3432
struct device dev;
3533
int nid; /* NID for this memory block */
3634
};

0 commit comments

Comments
 (0)