aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2022-06-23 14:58:45 -0700
committerDan Williams <dan.j.williams@intel.com>2022-07-11 12:34:55 -0700
commitb060edfd8cdd52bc8648392500bf152a8dd6d4c5 (patch)
tree563c5ab8b04787c62df3e0ebe1fbfd9a2e388d74 /drivers
parentcxl/hdm: Initialize decoder type for memory expander devices (diff)
downloadlinux-dev-b060edfd8cdd52bc8648392500bf152a8dd6d4c5.tar.xz
linux-dev-b060edfd8cdd52bc8648392500bf152a8dd6d4c5.zip
cxl/pmem: Delete unused nvdimm attribute
While there is a need to go from a LIBNVDIMM 'struct nvdimm' to a CXL 'struct cxl_nvdimm', there is no use case to go the other direction. Likely this is a leftover from an early version of the referenced commit before it implemented devm for releasing the created nvdimm. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20220624041950.559155-19-dan.j.williams@intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cxl/cxl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cxl/cxl.h b/drivers/cxl/cxl.h
index 79d4c361b54f..570bd9f8141b 100644
--- a/drivers/cxl/cxl.h
+++ b/drivers/cxl/cxl.h
@@ -273,7 +273,6 @@ struct cxl_nvdimm_bridge {
struct cxl_nvdimm {
struct device dev;
struct cxl_memdev *cxlmd;
- struct nvdimm *nvdimm;
};
/**