cxl/memdev: Remove unused cxlmd field
PATCH 1/1 cxl/memdev: Remove unused cxlmd field
From: Ira Weiny <[email protected]>
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]
Suggested-by [email protected]
Signed-off-by Ira Weiny <[email protected]>
---
Changes from V1:
Change Subject
[v1] https://lore.kernel.org/linux-cxl/[email protected]/T/#m79c2c7ba4cc897c10e26acdaca890887e1dd487f
--- drivers/cxl/cxlmem.h | 2 -- 1 file changed, 2 deletions(-)
drivers/cxl/cxlmem.h +0 -2
@@ -97,7 +97,6 @@ struct cxl_mbox_cmd {* Currently only memory devices are represented. * * @dev: The device associated with this CXL state -* @cxlmd: Logical memory device chardev / interface * @regs: Parsed register blocks * @payload_size: Size of space for payload * (CXL 2.0 8.2.8.4.3 Mailbox Capabilities Register)
@@ -124,7 +123,6 @@ struct cxl_mbox_cmd {*/ struct cxl_dev_state {struct device *dev; -struct cxl_memdev *cxlmd;struct cxl_regs regs;
Signature · 1 line
2.28.0.rc0.12.gb6a658bd00c9
Quoted 9 lines · On Wed, 3 Nov 2021 16:48:57 -0700 <[email protected]> wrote:
From: Ira Weiny <[email protected]>
This field was left over when the connection between the
cxl_memdevandcxl_memwas tighter. It is no longer set nor used so remove it.[1]Suggested-by [email protected]Signed-off-by Ira Weiny <[email protected]>
Reviewed-by Jonathan Cameron <[email protected]>
Quoted 30 lines
---
Changes from V1:
Change Subject[v1] https://lore.kernel.org/linux-cxl/[email protected]/T/#m79c2c7ba4cc897c10e26acdaca890887e1dd487f
--- drivers/cxl/cxlmem.h | 2 -- 1 file changed, 2 deletions(-)drivers/cxl/cxlmem.h +0
-2@@ -97,7 +97,6 @@ struct cxl_mbox_cmd {* Currently only memory devices are represented. * * @dev: The device associated with this CXL state -* @cxlmd: Logical memory device chardev / interface * @regs: Parsed register blocks * @payload_size: Size of space for payload * (CXL 2.0 8.2.8.4.3 Mailbox Capabilities Register) @@ -124,7 +123,6 @@ struct cxl_mbox_cmd {*/ struct cxl_dev_state {struct device *dev; -struct cxl_memdev *cxlmd;struct cxl_regs regs;