From: Dan Williams Date: Thu, 23 Jun 2022 21:58:45 +0000 (-0700) Subject: cxl/pmem: Delete unused nvdimm attribute X-Git-Tag: v6.1-rc5~632^2~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b060edfd8cdd52bc8648392500bf152a8dd6d4c5;p=platform%2Fkernel%2Flinux-starfive.git 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 Link: https://lore.kernel.org/r/20220624041950.559155-19-dan.j.williams@intel.com Signed-off-by: Dan Williams --- diff --git a/drivers/cxl/cxl.h b/drivers/cxl/cxl.h index 79d4c36..570bd9f 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; }; /**