Skip to content

Commit a91bd78

Browse files
weiny2djbw
authored andcommitted
cxl/memdev: Remove unused cxlmd field
This field was left over when the connection between the cxl_memdev and cxl_mem was tighter. It is no longer set nor used so remove it.[1] Link: https://lore.kernel.org/r/CAPcyv4hcgh2gb8qsS_UXTBSGqYfMPnC6p5kkvNUjm+V6kVKM5g@mail.gmail.com/ Suggested-by: [email protected] Signed-off-by: Ira Weiny <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
1 parent affec78 commit a91bd78

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/cxl/cxlmem.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ struct cxl_mbox_cmd {
9797
* Currently only memory devices are represented.
9898
*
9999
* @dev: The device associated with this CXL state
100-
* @cxlmd: Logical memory device chardev / interface
101100
* @regs: Parsed register blocks
102101
* @payload_size: Size of space for payload
103102
* (CXL 2.0 8.2.8.4.3 Mailbox Capabilities Register)
@@ -124,7 +123,6 @@ struct cxl_mbox_cmd {
124123
*/
125124
struct cxl_dev_state {
126125
struct device *dev;
127-
struct cxl_memdev *cxlmd;
128126

129127
struct cxl_regs regs;
130128

0 commit comments

Comments
 (0)