浏览代码

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>
Luis de Bethencourt 7 年之前
父节点
当前提交
1c47a645ba
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/dax/device.c

+ 1 - 1
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);