summaryrefslogtreecommitdiffstats
path: root/drivers/dax/device.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@kernel.org>2018-01-23 12:36:32 +0100
committerDan Williams <dan.j.williams@intel.com>2018-01-23 19:49:03 +0100
commit1c47a645ba48508dd641315ba01a949bea979e8e (patch)
tree0531844d3986fd6b96ec26b497786a749382197e /drivers/dax/device.c
parentlibnvdimm, btt: fix uninitialized err_lock (diff)
downloadlinux-1c47a645ba48508dd641315ba01a949bea979e8e.tar.xz
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/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);