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>
This commit is contained in:
Dan Williams
2017-07-19 15:57:44 -07:00
parent 21b9e97950
commit 93694f9630
4 changed files with 4 additions and 8 deletions

View File

@@ -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;