cxl/pmem: Delete unused nvdimm attribute
authorDan Williams <dan.j.williams@intel.com>
Thu, 23 Jun 2022 21:58:45 +0000 (14:58 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 11 Jul 2022 19:34:55 +0000 (12:34 -0700)
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>
drivers/cxl/cxl.h

index 79d4c36..570bd9f 100644 (file)
@@ -273,7 +273,6 @@ struct cxl_nvdimm_bridge {
 struct cxl_nvdimm {
        struct device dev;
        struct cxl_memdev *cxlmd;
-       struct nvdimm *nvdimm;
 };
 
 /**