Commit 11d2498f authored by Dan Williams's avatar Dan Williams

Merge branch 'for-5.12/dax' into libnvdimm-fixes

Pick up dax compile fix.
parents a2948b17 9de82caa
...@@ -90,13 +90,11 @@ static ssize_t do_id_store(struct device_driver *drv, const char *buf, ...@@ -90,13 +90,11 @@ static ssize_t do_id_store(struct device_driver *drv, const char *buf,
list_add(&dax_id->list, &dax_drv->ids); list_add(&dax_id->list, &dax_drv->ids);
} else } else
rc = -ENOMEM; rc = -ENOMEM;
} else }
/* nothing to remove */;
} else if (action == ID_REMOVE) { } else if (action == ID_REMOVE) {
list_del(&dax_id->list); list_del(&dax_id->list);
kfree(dax_id); kfree(dax_id);
} else }
/* dax_id already added */;
mutex_unlock(&dax_bus_lock); mutex_unlock(&dax_bus_lock);
if (rc < 0) if (rc < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment