diff options
-rw-r--r-- | drivers/nvdimm/namespace_devs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvdimm/namespace_devs.c b/drivers/nvdimm/namespace_devs.c index bb3ba8cf24d4..658ada497be0 100644 --- a/drivers/nvdimm/namespace_devs.c +++ b/drivers/nvdimm/namespace_devs.c | |||
@@ -2408,7 +2408,7 @@ static struct device **scan_labels(struct nd_region *nd_region) | |||
2408 | 2408 | ||
2409 | static struct device **create_namespaces(struct nd_region *nd_region) | 2409 | static struct device **create_namespaces(struct nd_region *nd_region) |
2410 | { | 2410 | { |
2411 | struct nd_mapping *nd_mapping = &nd_region->mapping[0]; | 2411 | struct nd_mapping *nd_mapping; |
2412 | struct device **devs; | 2412 | struct device **devs; |
2413 | int i; | 2413 | int i; |
2414 | 2414 | ||