summaryrefslogtreecommitdiff
path: root/drivers/dax/device.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@kernel.org>2018-01-23 14:36:32 +0300
committerDan Williams <dan.j.williams@intel.com>2018-01-23 21:49:03 +0300
commit1c47a645ba48508dd641315ba01a949bea979e8e (patch)
tree0531844d3986fd6b96ec26b497786a749382197e /drivers/dax/device.c
parentd08cd5e0eb632eef7819ba911c09d89a767f2d0c (diff)
downloadlinux-1c47a645ba48508dd641315ba01a949bea979e8e.tar.xz
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/device.c')
-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);