Changeset c81d4f1 in mainline for uspace/srv/devman/driver.c


Ignore:
Timestamp:
2018-01-04T20:50:53Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
3b47db6
Parents:
847844a
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:53)
Message:

(optional) Remove the horrid hack named case_errno_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/driver.c

    r847844a rc81d4f1  
    603603        }
    604604
    605         switch ((case_errno_t) rc) {
    606         case (case_errno_t) EOK:
     605        switch (rc) {
     606        case EOK:
    607607                dev->state = DEVICE_USABLE;
    608608                break;
    609         case (case_errno_t) ENOENT:
     609        case ENOENT:
    610610                dev->state = DEVICE_NOT_PRESENT;
    611611                break;
Note: See TracChangeset for help on using the changeset viewer.