diff options
author | Dan Williams <dan.j.williams@intel.com> | 2022-06-24 00:58:45 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2022-07-11 22:34:55 +0300 |
commit | b060edfd8cdd52bc8648392500bf152a8dd6d4c5 (patch) | |
tree | 563c5ab8b04787c62df3e0ebe1fbfd9a2e388d74 /drivers/cxl | |
parent | 9e9e44017db33a74177ffe91307b4c922fe2f094 (diff) | |
download | linux-b060edfd8cdd52bc8648392500bf152a8dd6d4c5.tar.xz |
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/cxl')
-rw-r--r-- | drivers/cxl/cxl.h | 1 |
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; }; /** |