summaryrefslogtreecommitdiffstats
path: root/drivers/dax/dax-private.h
diff options
context:
space:
mode:
authorDan Williams2017-07-20 00:57:44 +0200
committerDan Williams2019-01-07 06:24:46 +0100
commit93694f9630b0ed29cda61df58e480dcb34ef52fd (patch)
tree7f7fff99c1017d664559d771c8bdd28503881a53 /drivers/dax/dax-private.h
parentdevice-dax: Kill dax_region ida (diff)
downloadkernel-qcow2-linux-93694f9630b0ed29cda61df58e480dcb34ef52fd.tar.gz
kernel-qcow2-linux-93694f9630b0ed29cda61df58e480dcb34ef52fd.tar.xz
kernel-qcow2-linux-93694f9630b0ed29cda61df58e480dcb34ef52fd.zip
device-dax: Kill dax_region base
Nothing consumes this attribute of a region and devres otherwise remembers the value for de-allocation purposes. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/dax-private.h')
-rw-r--r--drivers/dax/dax-private.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dax/dax-private.h b/drivers/dax/dax-private.h
index d1b36a42132f..9b393c218fe4 100644
--- a/drivers/dax/dax-private.h
+++ b/drivers/dax/dax-private.h
@@ -19,7 +19,6 @@
/**
* struct dax_region - mapping infrastructure for dax devices
* @id: kernel-wide unique region for a memory range
- * @base: linear address corresponding to @res
* @kref: to pin while other agents have a need to do lookups
* @dev: parent device backing this region
* @align: allocation and mapping alignment for child dax devices
@@ -28,7 +27,6 @@
*/
struct dax_region {
int id;
- void *base;
struct kref kref;
struct device *dev;
unsigned int align;