diff options
author | Dan Williams <dan.j.williams@intel.com> | 2023-06-03 09:14:11 +0300 |
---|---|---|
committer | Vishal Verma <vishal.l.verma@intel.com> | 2023-06-23 10:03:50 +0300 |
commit | 2532f41607c4308733239dd43278f8a5540f3ec7 (patch) | |
tree | 6e43c94541c871b5e8cbd60bcddad92816e79263 /drivers/dax/bus.h | |
parent | 70aab281e18c68a1284bc387de127c2fc0bed3f8 (diff) | |
download | linux-2532f41607c4308733239dd43278f8a5540f3ec7.tar.xz |
dax: Cleanup extra dax_region references
Now that free_dev_dax_id() internally manages the references it needs
the extra references taken by the dax_region drivers are not needed.
Reported-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/168577285161.1672036.8111253437794419696.stgit@dwillia2-xfh.jf.intel.com
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Diffstat (limited to 'drivers/dax/bus.h')
-rw-r--r-- | drivers/dax/bus.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dax/bus.h b/drivers/dax/bus.h index 43f490e9ce65..1ccd23360124 100644 --- a/drivers/dax/bus.h +++ b/drivers/dax/bus.h @@ -9,7 +9,6 @@ struct dev_dax; struct resource; struct dax_device; struct dax_region; -void dax_region_put(struct dax_region *dax_region); /* dax bus specific ioresource flags */ #define IORESOURCE_DAX_STATIC BIT(0) |