projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d08cd5e
)
device-dax: Fix trailing semicolon
author
Luis de Bethencourt
<luisbg@kernel.org>
Tue, 23 Jan 2018 11:36:32 +0000
(11:36 +0000)
committer
Dan Williams
<dan.j.williams@intel.com>
Tue, 23 Jan 2018 18:49:03 +0000
(10:49 -0800)
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>
drivers/dax/device.c
patch
|
blob
|
history
diff --git
a/drivers/dax/device.c
b/drivers/dax/device.c
index
7b0bf82
..
2137dbc
100644
(file)
--- 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);