Changeset b8ab299 in mainline
- Timestamp:
- 2018-01-29T01:33:06Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 07457d6
- Parents:
- 133ff9d
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-29 01:32:22)
- git-committer:
- Aearsis <Hlavaty.Ondrej@…> (2018-01-29 01:33:06)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
r133ff9d rb8ab299 196 196 rc = ENOTSUP; 197 197 198 if (rc == EOK) 198 if (rc == EOK) { 199 fibril_mutex_lock(&devices_mutex); 200 list_remove(&dev->link); 201 fibril_mutex_unlock(&devices_mutex); 199 202 dev_del_ref(dev); 203 } 200 204 201 205 dev_del_ref(dev); … … 225 229 rc = ENOTSUP; 226 230 227 if (rc == EOK) 231 if (rc == EOK) { 232 fibril_mutex_lock(&devices_mutex); 233 list_remove(&dev->link); 234 fibril_mutex_unlock(&devices_mutex); 228 235 dev_del_ref(dev); 236 } 229 237 230 238 dev_del_ref(dev);
Note:
See TracChangeset
for help on using the changeset viewer.