diff options
author | Dan Williams <[email protected]> | 2022-12-01 13:33:32 -0800 |
---|---|---|
committer | Dan Williams <[email protected]> | 2022-12-02 23:06:29 -0800 |
commit | 16d53cb0d6900ba7c5920397480016d3ee844610 (patch) | |
tree | 73af5b85b3d283fc6413450adfe0f009dbb2f605 /drivers/fpga/fpga-mgr.c | |
parent | cb9cfff82f6a862c1f54b8b01d9d9a979bb8ae78 (diff) |
cxl/region: Drop redundant pmem region release handling
Now that a cxl_nvdimm object can only experience ->remove() via an
unregistration event (because the cxl_nvdimm bind attributes are
suppressed), additional cleanups are possible.
It is already the case that the removal of a cxl_memdev object triggers
->remove() on any associated region. With that mechanism in place there
is no need for the cxl_nvdimm removal to trigger the same. Just rely on
cxl_region_detach() to tear down the whole cxl_pmem_region.
Tested-by: Robert Richter <[email protected]>
Link: https://lore.kernel.org/r/166993041215.1882361.6321535567798911286.stgit@dwillia2-xfh.jf.intel.com
Reviewed-by: Jonathan Cameron <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions