Skip to content

Commit

Permalink
device-dax: Fix trailing semicolon
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
  • Loading branch information
luisbg authored and djbw committed Jan 23, 2018
1 parent d08cd5e commit 1c47a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dax/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1c47a64

Please sign in to comment.