summaryrefslogtreecommitdiffstats
path: root/drivers/dax
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@kernel.org>2018-01-23 11:36:32 +0000
committerDan Williams <dan.j.williams@intel.com>2018-01-23 10:49:03 -0800
commit1c47a645ba48508dd641315ba01a949bea979e8e (patch)
tree0531844d3986fd6b96ec26b497786a749382197e /drivers/dax
parentd08cd5e0eb632eef7819ba911c09d89a767f2d0c (diff)
downloadlinux-1c47a645ba48508dd641315ba01a949bea979e8e.tar.gz
linux-1c47a645ba48508dd641315ba01a949bea979e8e.tar.bz2
linux-1c47a645ba48508dd641315ba01a949bea979e8e.zip
device-dax: Fix trailing semicolon
The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything. Signed-off-by: Luis de Bethencourt <luisbg@kernel.org> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax')
-rw-r--r--drivers/dax/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dax/device.c b/drivers/dax/device.c
index 7b0bf825c4e7..2137dbc29877 100644
--- a/drivers/dax/device.c
+++ b/drivers/dax/device.c
@@ -133,7 +133,7 @@ struct dax_region *alloc_dax_region(struct device *parent, int region_id,
dax_region->base = addr;
if (sysfs_create_groups(&parent->kobj, dax_region_attribute_groups)) {
kfree(dax_region);
- return NULL;;
+ return NULL;
}
kref_get(&dax_region->kref);